diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-03-11 13:07:31 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-03-20 12:17:48 +0100 |
commit | 85f0b61a6bede242a2d6b67f9f6e1c02a80808e7 (patch) | |
tree | 0837344c68c3498c01796cd6575c147b6e953be5 /net/mptcp | |
parent | 0fa04202078a7dae3a1199bd61951de3d915ede6 (diff) | |
download | linux-85f0b61a6bede242a2d6b67f9f6e1c02a80808e7.tar.bz2 |
thermal: qoriq: Use devm_add_action_or_reset() to handle all cleanups
Use devm_add_action_or_reset() to handle all cleanups of failure in
.probe and .remove, then .remove callback can be dropped.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1583903252-2058-1-git-send-email-Anson.Huang@nxp.com
Diffstat (limited to 'net/mptcp')
0 files changed, 0 insertions, 0 deletions