aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnson Huang <[email protected]>2020-03-23 15:00:06 +0000
committerGreg Kroah-Hartman <[email protected]>2020-03-23 20:05:23 +0100
commitbbde5709ee4f60a43b7372545454947044655728 (patch)
tree122b55772c4af176a7f753a20c4bf1aaf115ec26 /tools/perf/scripts/python
parent4bd5a15d933c1703910c756d961dbbd2e6d52181 (diff)
nvmem: mxs-ocotp: Use devm_add_action_or_reset() for cleanup
Use devm_add_action_or_reset() for cleanup to call clk_unprepare(), which can simplify the error handling in .probe, and .remove callback can be dropped. Signed-off-by: Anson Huang <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions