diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2019-09-27 15:10:46 +0800 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-10-04 21:09:52 -0700 |
commit | b4d64193d41e52a5d35923bc5a0772d9de250092 (patch) | |
tree | 94157766c73ab2605c719b75f719aa5a3f0cb2ca /kernel/cred.c | |
parent | 3070c41643609c66d33de3577fc9d8ca15932513 (diff) |
hwspinlock: sprd: 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: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions