diff options
| author | Jonathan Cameron <[email protected]> | 2020-09-13 13:12:27 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-21 19:59:57 +0100 |
| commit | 9e7c7d92747f653c528d8af9e4244ac7a9cb048d (patch) | |
| tree | 19a92d202fb502b04a7b1aa6ea84f8517e739711 /scripts/const_structs.checkpatch | |
| parent | e8a26c5b767b5ffc541f1c80336f2faa802441f4 (diff) | |
iio:accel:bma180: Fix use of true when should be iio_shared_by enum
Given a value of 1 corresponds to IIO_SHARE_BY_TYPE I have replaced
it with that. Should cause no functional change.
Fixes: fdadbce0da42 ("iio: add Bosch BMA180 acceleration sensor driver")
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Matt Ranostay <[email protected]>
Reviewed-by: Lars-Peter Clausen <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: Oleksandr Kravchenko <[email protected]>
Cc: Peter Meerwald <[email protected]>
Cc: Jonathan Bakker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions