power: supply: axp288_charger: Fix wrong regmap_update_bits
authorHans de Goede <hdegoede@redhat.com>
Wed, 21 Dec 2016 14:36:55 +0000 (15:36 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 4 Jan 2017 21:03:08 +0000 (22:03 +0100)
commit8cffbe47e5986465a485290791f8dff7c2b0db3c
treef12f0b7e270f6df3f219d1ed461692d0ace9ee98
parent5c5bcb8c576c5ce85f19cc71a7c936ade5210f88
power: supply: axp288_charger: Fix wrong regmap_update_bits

To set a bit to 1 one needs to pass the mask for the bit to set
as second argument into regmap_update_bits, not "1".

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