diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2021-11-04 01:24:10 -0700 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-11-17 17:51:43 +0000 |
commit | 4d57fb548a1b086fc216c94cc186fba03c396190 (patch) | |
tree | f2f2eaf6c90e2fa9bbc9b383c455f7bba8806468 /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | a5cd0e7f5b3cda94b9f4029b8baef817a7a97226 (diff) | |
download | linux-4d57fb548a1b086fc216c94cc186fba03c396190.tar.gz linux-4d57fb548a1b086fc216c94cc186fba03c396190.tar.bz2 linux-4d57fb548a1b086fc216c94cc186fba03c396190.zip |
iio: mag3110: Use scan_type when processing raw data
Use channel definition as root of trust and replace constant
when reading elements directly using the raw sysfs attributes.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Link: https://lore.kernel.org/r/20211104082413.3681212-11-gwendal@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions