diff options
author | 2020-03-13 22:30:49 +0800 | |
---|---|---|
committer | 2020-03-16 11:55:55 +0100 | |
commit | 7863bd076b990f57076f2123337b67b5d5ccd190 (patch) | |
tree | 9bc8624b0230b48b3c7229141e61f4afcfb6e616 /drivers/rtc/rtc-88pm860x.c | |
parent | MAINTAINERS: add MT2712 RTC files (diff) | |
download | linux-dev-7863bd076b990f57076f2123337b67b5d5ccd190.tar.xz linux-dev-7863bd076b990f57076f2123337b67b5d5ccd190.zip |
rtc: snvs: 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.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Link: https://lore.kernel.org/r/1584109849-21402-1-git-send-email-Anson.Huang@nxp.com
Link: https://lore.kernel.org/r/1584233264-26025-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-88pm860x.c')
0 files changed, 0 insertions, 0 deletions