summaryrefslogtreecommitdiff
path: root/drivers/power/reset/ltc2952-poweroff.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-11-18 22:55:39 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-11-18 23:18:31 -0800
commit30df385e35a48f773b85117fc490152c2395e45b (patch)
tree72406faef1f5f13dd3e5270e64f2f53889f8acc9 /drivers/power/reset/ltc2952-poweroff.c
parent74f2c59324a3cb0e69937c2289a13f36231a6f3e (diff)
Input: adp5589-keys - use devm_add_action_or_reset() for register clear
The driver clears the general configuration register during the remove() hook. This should also be done in case the driver exits on error. This change move the clear of that register to the devm_add_action_or_reset() hook. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20201112074308.71351-6-alexandru.ardelean@analog.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/power/reset/ltc2952-poweroff.c')
0 files changed, 0 insertions, 0 deletions