]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: pda_power: add missed usb_unregister_notifier
authorChuhong Yuan <hslester96@gmail.com>
Fri, 15 Nov 2019 06:25:15 +0000 (14:25 +0800)
committerSebastian Reichel <sre@kernel.org>
Thu, 19 Dec 2019 00:07:53 +0000 (01:07 +0100)
commit23ddcbbaa8cf0e251539bc8a8e8d39af494f0daa
treecab7067d19922fcc990005d01fa612da5f1e6d7b
parentba748ce2888d242bda1dab2ccda3542bef8cdabe
power: supply: pda_power: add missed usb_unregister_notifier

The driver forgets to unregister the notifier in remove.
Add the call to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/pda_power.c