diff options
| author | Stefan Brüns <[email protected]> | 2017-05-01 11:19:42 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-05-07 13:42:12 +0000 |
| commit | ac23d64defcdce0dad93e10ac7f202430f713729 (patch) | |
| tree | 06aa87afafc20343bd8386820deadc749e20d35c /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | iio: Documentation: sysfs-bus-iio-meas-spec: Remove (partially) duplicate line (diff) | |
| download | kernel-ac23d64defcdce0dad93e10ac7f202430f713729.tar.gz kernel-ac23d64defcdce0dad93e10ac7f202430f713729.zip | |
iio: adc: Fix bad GENMASK use, typos, whitespace
Commit 7906dd52c5a0 ("iio: ina2xx: Fix whitespace and re-order code")
changed the register number of the MASK_ENABLE register from 0x06 to the
value equivalent GENMASK(2,1), although its no mask.
Also fix a typo (INA2_6_6 instead of INA2_2_6), and use the datasheet
name ("Mask/Enable") for the register number define.
Fix bad indentation for channel attributes.
Signed-off-by: Stefan Brüns <[email protected]>
Acked-by: Andrew F. Davis <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
