summaryrefslogtreecommitdiff
path: root/include/linux/z2_battery.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-01-10 15:49:05 +0100
committerSebastian Reichel <sre@kernel.org>2021-01-13 22:25:03 +0100
commita3b4388ea19b055ec482114e227c58d0184edfa5 (patch)
tree74775df89ac94c977ccfe686b3dc2be5fda26d84 /include/linux/z2_battery.h
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
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>
Diffstat (limited to 'include/linux/z2_battery.h')
-rw-r--r--include/linux/z2_battery.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/z2_battery.h b/include/linux/z2_battery.h
index eaba53ff387c..9e8be7a7cd25 100644
--- a/include/linux/z2_battery.h
+++ b/include/linux/z2_battery.h
@@ -6,7 +6,6 @@ struct z2_battery_info {
int batt_I2C_bus;
int batt_I2C_addr;
int batt_I2C_reg;
- int charge_gpio;
int min_voltage;
int max_voltage;
int batt_div;