power: supply: axp288_charger: Make charger_init_hw_regs propagate i2c errors
authorHans de Goede <hdegoede@redhat.com>
Wed, 21 Dec 2016 14:36:46 +0000 (15:36 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 4 Jan 2017 20:54:53 +0000 (21:54 +0100)
commitd556f21cb0f8b66f2e7956244c1a739ee6401579
tree54ef10c16adfc455ca223122e810f3621d6e1c26
parent7ce7d89f48834cefece7804d38fc5d85382edf77
power: supply: axp288_charger: Make charger_init_hw_regs propagate i2c errors

Make charger_init_hw_regs propagate i2c errors, instead of only warning
about them and then ignoring them.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/axp288_charger.c