diff options
| author | Nishant Malpani <nish.malpani25@gmail.com> | 2020-09-10 17:57:11 +0530 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-13 10:45:47 +0100 |
| commit | 5ac65da27ea8631d2032d47c0b9ef06c79d3446a (patch) | |
| tree | e6bf54693130b50c1c9c5b89805bbf8861c68ee5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a5c69204dafc77cde34317e34f2f4fc93afd36df (diff) | |
| download | linux-5ac65da27ea8631d2032d47c0b9ef06c79d3446a.tar.gz linux-5ac65da27ea8631d2032d47c0b9ef06c79d3446a.zip | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
