diff options
author | Javier Carrasco <[email protected]> | 2024-10-01 22:21:20 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-10-06 15:09:35 +0100 |
commit | e980726d89e25eb87dd80803ec75feefede21045 (patch) | |
tree | a06daa85d821c24fec87b710a3620b4da6d24a9b /tools/perf/scripts/python/flamegraph.py | |
parent | ed59fc90f38a751f699a846bc68a89185fb8325d (diff) |
iio: light: veml6030: power off device in probe error paths
Move devm_add_action_or_reset() with a device shut down action to the
hardware initialization function to ensure that any error path after
powering on the device leads to a power off. Add struct device *dev
to the argument list to clarify the device the action is registered
against, and use it wherever &client->dev was used.
Signed-off-by: Javier Carrasco <[email protected]>
Link: https://patch.msgid.link/[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