diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-03-04 09:42:18 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-04-25 16:57:07 +0200 |
commit | 065056cb0d0ad42b04bcdfbce84cc7136f919ee6 (patch) | |
tree | 48e4e87f06b0f45afce0ab5f3fba8c8067af5521 /security/keys/big_key.c | |
parent | iio: adc: at91-sama5d2_adc: update for other trigger usage (diff) | |
download | linux-065056cb0d0ad42b04bcdfbce84cc7136f919ee6.tar.xz linux-065056cb0d0ad42b04bcdfbce84cc7136f919ee6.zip |
iio: at91-sama5d2_adc: split at91_adc_current_chan_is_touch() helper
This change moves the logic to check if the current channel is the
touchscreen channel to a separate helper.
This reduces some code duplication, but the main intent is to re-use this
in the next patches.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Reviewed-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'security/keys/big_key.c')
0 files changed, 0 insertions, 0 deletions