diff options
| author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-03-04 10:42:18 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-04-25 15:57:07 +0100 |
| commit | 065056cb0d0ad42b04bcdfbce84cc7136f919ee6 (patch) | |
| tree | 48e4e87f06b0f45afce0ab5f3fba8c8067af5521 /net/lapb/lapb_timer.c | |
| parent | abb7e84d29b0d9fc9410661aceffecb5e22ad006 (diff) | |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
