diff options
| author | Andrey Smirnov <[email protected]> | 2019-04-14 11:35:03 -0700 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-04-22 11:34:14 +0100 |
| commit | b846676066ebf1d263d1c8fae4845ad4549e61e8 (patch) | |
| tree | e639317a5e61601e308970d34b7818844dfd7fbc /tools/perf/scripts/python | |
| parent | 4fe86cdf927a3883fcc4bd2573a4131e3129abbc (diff) | |
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 <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Hartmut Knaack <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Peter Meerwald-Stadler <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions