mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
staging: iio: ad7150: use ternary operating to ensure 0/1 value
Remove idiom and use ternary operator for consistently trigger 0/1 value on variable declaration. Signed-off-by: Melissa Wen <melissa.srw@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
387c1d7706
commit
362cd500a2
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue