diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-04-14 21:35:03 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-22 13:34:14 +0300 |
commit | b846676066ebf1d263d1c8fae4845ad4549e61e8 (patch) | |
tree | e639317a5e61601e308970d34b7818844dfd7fbc /include/linux/iio/timer/stm32-timer-trigger.h | |
parent | 4fe86cdf927a3883fcc4bd2573a4131e3129abbc (diff) | |
download | linux-b846676066ebf1d263d1c8fae4845ad4549e61e8.tar.xz |
iio: imx7d_adc: Simplify imx7d_adc_remove() with imx7d_adc_suspend()
Since imx7d_adc_remove() does exactly the same thing as
imx7d_adc_suspend() we can use the latter together with
devm_add_action_or_reset() to simplify the former. Rename
imx7d_adc_suspend() to imx7d_adc_disable() for clarity while at it.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio/timer/stm32-timer-trigger.h')
0 files changed, 0 insertions, 0 deletions