diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-03-16 17:09:45 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-03-22 22:10:41 +0100 |
commit | fdc9f0eace99b288d5ef5cc7489699bf7b2d9e36 (patch) | |
tree | e67828ec465f531a452e6ac492e88e62ce2af662 /crypto/drbg.c | |
parent | df11b323b16fce74d32571c2f80074df41df002d (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 'crypto/drbg.c')
0 files changed, 0 insertions, 0 deletions