diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-11-03 02:48:44 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-11-30 04:13:02 +0300 |
commit | 7776bcd241e08e13ef009926c6dea84dc3b2f8ff (patch) | |
tree | 2e2610a8ef0da90c19f6dbc714a2d4fe6524a04d /include/linux/s3c_adc_battery.h | |
parent | 36dbca148bf8e3b8658982aa2256bdc7ef040256 (diff) | |
download | linux-7776bcd241e08e13ef009926c6dea84dc3b2f8ff.tar.xz |
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>
Diffstat (limited to 'include/linux/s3c_adc_battery.h')
-rw-r--r-- | include/linux/s3c_adc_battery.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/s3c_adc_battery.h b/include/linux/s3c_adc_battery.h index 833871dcf6fd..57f982c375f8 100644 --- a/include/linux/s3c_adc_battery.h +++ b/include/linux/s3c_adc_battery.h @@ -14,9 +14,6 @@ struct s3c_adc_bat_pdata { void (*enable_charger)(void); void (*disable_charger)(void); - int gpio_charge_finished; - int gpio_inverted; - const struct s3c_adc_bat_thresh *lut_noac; unsigned int lut_noac_cnt; const struct s3c_adc_bat_thresh *lut_acin; |