-
Hans de Goede authored
[ Upstream commit f2a42595 ] We should look at val which contains the value read from the register, not ret which is always 0 on a successful read. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Fixes: eac53b36 ("power: supply: axp288_charger: Drop platform_data dependency") Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by:
Sasha Levin <alexander.levin@microsoft.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
914b4daa