summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-03-16 17:09:45 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-03-22 22:10:41 +0100
commitfdc9f0eace99b288d5ef5cc7489699bf7b2d9e36 (patch)
treee67828ec465f531a452e6ac492e88e62ce2af662 /lib
parentdf11b323b16fce74d32571c2f80074df41df002d (diff)
rtc: mxc: Use devm_add_action_or_reset() for calls to clk_disable_unprepare()
Use devm_add_action_or_reset() for calls to clk_disable_unprepare(), which can simplify the error handling, and .remove callback can be dropped. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1584349785-27042-1-git-send-email-Anson.Huang@nxp.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions