aboutsummaryrefslogtreecommitdiff
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorAnson Huang2020-03-23 15:00:06 +0000
committerGreg Kroah-Hartman2020-03-23 20:05:23 +0100
commitbbde5709ee4f60a43b7372545454947044655728 (patch)
tree122b55772c4af176a7f753a20c4bf1aaf115ec26 /block/blk-throttle.c
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 <Anson.Huang@nxp.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20200323150007.7487-5-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions