diff options
| author | Nishant Malpani <[email protected]> | 2020-09-10 17:57:11 +0530 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-13 10:45:47 +0100 |
| commit | 5ac65da27ea8631d2032d47c0b9ef06c79d3446a (patch) | |
| tree | e6bf54693130b50c1c9c5b89805bbf8861c68ee5 /tools/perf/scripts/python/flamegraph.py | |
| parent | a5c69204dafc77cde34317e34f2f4fc93afd36df (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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions