commit | 7863bd076b990f57076f2123337b67b5d5ccd190 | [log] [tgz] |
---|---|---|
author | Anson Huang <Anson.Huang@nxp.com> | Fri Mar 13 22:30:49 2020 +0800 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Mon Mar 16 11:55:55 2020 +0100 |
tree | 9bc8624b0230b48b3c7229141e61f4afcfb6e616 | |
parent | 21cbe810941501098e30c28df5cfa947ef04ee79 [diff] |
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>