power_supply: isp1704_charger: Error messages when probe fail
authorPali Rohár <pali.rohar@gmail.com>
Sun, 21 Feb 2016 11:28:18 +0000 (12:28 +0100)
committerSebastian Reichel <sre@kernel.org>
Sun, 21 Feb 2016 19:24:28 +0000 (20:24 +0100)
commited6107beb5cc2b47fcc335f089bef3dfe6c03602
treeff1fe9ea324e2b920d2f96671eab7e413c0bd5e6
parent6659b55dae09b2042d8cdd0f4576502c3e81957c
power_supply: isp1704_charger: Error messages when probe fail

This patch adds more detailed error messages when probe function fails.
It is useful for debbuging why the driver refuses to register the
charger device.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/isp1704_charger.c