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>
parent
74f2c593
No related branches found
No related tags found
Please register or sign in to comment