Driver forgot to unregister power supply if request_threaded_irq()
failed in probe(). In such case the memory associated with power supply
leaked.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Fixes: a830d28b48 ("power_supply: Enable battery-charger for 88pm860x")
Cc: <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>