power: supply: s3c-adc-battery: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 2 Nov 2020 23:48:44 +0000 (00:48 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 30 Nov 2020 01:13:02 +0000 (02:13 +0100)
commit7776bcd241e08e13ef009926c6dea84dc3b2f8ff
tree2e2610a8ef0da90c19f6dbc714a2d4fe6524a04d
parent36dbca148bf8e3b8658982aa2256bdc7ef040256
power: supply: s3c-adc-battery: Convert to GPIO descriptors

This converts the S3C ADC battery to use GPIO descriptors
instead of a global GPIO number for the charging completed
GPIO. Using the pattern from the GPIO charger we name this
GPIO line "charge-status" in the board file.

Cc: linux-samsung-soc@vger.kernel.org
Cc: Sergiy Kibrik <sakib@darkstar.site>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
arch/arm/mach-s3c/mach-h1940.c
arch/arm/mach-s3c/mach-rx1950.c
drivers/power/supply/s3c_adc_battery.c
include/linux/s3c_adc_battery.h