diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-03-16 10:09:45 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-03-22 22:10:41 +0100 |
commit | fdc9f0eace99b288d5ef5cc7489699bf7b2d9e36 (patch) | |
tree | e67828ec465f531a452e6ac492e88e62ce2af662 /net/netlink | |
parent | rtc: ds1307: handle oscillator failure flags for ds1388 variant (diff) | |
download | linux-fdc9f0eace99b288d5ef5cc7489699bf7b2d9e36.tar.xz linux-fdc9f0eace99b288d5ef5cc7489699bf7b2d9e36.zip |
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 'net/netlink')
0 files changed, 0 insertions, 0 deletions