diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2024-03-14 10:36:21 +0100 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2024-03-14 18:19:44 +0800 |
commit | 7da3065afdc810d37344dc8bda1bb74e79a742c5 (patch) | |
tree | 918bc33525b4379f0bbd45601c77fa1542966f70 /drivers/gpio/imx_rgpio2p.c | |
parent | 0707bfdf233b755c7f1b5547e32ede92264790a0 (diff) |
rockchip: adc: rockchip-saradc: factor out channel_data callback
SARADC v1 and v2 have a different way of reading data, therefore let's
abstract this function so that it can be provided from the udevice.data
pointer.
Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Diffstat (limited to 'drivers/gpio/imx_rgpio2p.c')
0 files changed, 0 insertions, 0 deletions