diff options
author | David Wu <david.wu@rock-chips.com> | 2021-08-10 03:10:07 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-08-15 17:58:37 +0200 |
commit | cabd6e9cf22dc80544c3eb09c4169a05e94a6d3f (patch) | |
tree | baf588840a587f6891cf2f1be7c007dbb1cb74f3 /lib/kobject.c | |
parent | iio: ltc2983: fix device probe (diff) | |
download | linux-cabd6e9cf22dc80544c3eb09c4169a05e94a6d3f.tar.xz linux-cabd6e9cf22dc80544c3eb09c4169a05e94a6d3f.zip |
iio: adc: rockchip_saradc: add voltage notifier so get referenced voltage once at probe
Add voltage notifier, no need to query regulator voltage for
every saradc read, just get regulator voltage once at probe.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20210810011007.54066-1-xxm@rock-chips.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions