diff options
| author | Linus Walleij <[email protected]> | 2020-11-03 00:48:44 +0100 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2020-11-30 02:13:02 +0100 |
| commit | 7776bcd241e08e13ef009926c6dea84dc3b2f8ff (patch) | |
| tree | 2e2610a8ef0da90c19f6dbc714a2d4fe6524a04d /include/linux | |
| parent | 36dbca148bf8e3b8658982aa2256bdc7ef040256 (diff) | |
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: [email protected]
Cc: Sergiy Kibrik <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'include/linux')
| -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; |