diff options
| author | 2020-09-10 17:57:11 +0530 | |
|---|---|---|
| committer | 2020-09-13 10:45:47 +0100 | |
| commit | 5ac65da27ea8631d2032d47c0b9ef06c79d3446a (patch) | |
| tree | e6bf54693130b50c1c9c5b89805bbf8861c68ee5 /scripts/Makefile.thinlto | |
| parent | iio: adc: stm32: Fix missing return in booster error path (diff) | |
iio: gyro: adxrs290: use hook for devm resource unwinding
Make use of devm_add_action_or_reset() hook to switch device into STANDBY
mode during standard resource unwinding. The patch includes a helper
function, in the form of adxrs290_set_mode(), to realise driving the
device into STANDBY mode.
Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20200910122711.16670-1-nish.malpani25@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
