power: supply: z2_battery: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 10 Jan 2021 14:49:05 +0000 (15:49 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 13 Jan 2021 21:25:03 +0000 (22:25 +0100)
commita3b4388ea19b055ec482114e227c58d0184edfa5
tree74775df89ac94c977ccfe686b3dc2be5fda26d84
parent5c8fe583cce542aa0b84adc939ce85293de36e5e
power: supply: z2_battery: Convert to GPIO descriptors

This converts the Palm Z2 battery driver to use GPIO descriptors.

Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
arch/arm/mach-pxa/z2.c
drivers/power/supply/z2_battery.c
include/linux/z2_battery.h