summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2020-08-27 17:34:01 +0200
committerSebastian Reichel <sre@kernel.org>2020-08-27 17:34:01 +0200
commit39e95bbbac67aea2462acc74253e1f163dd39682 (patch)
tree0a77920e9c8a41e3265c9f45f034e75b5657325c /include
parente03e3601fb9fc2aa5dc8b483944006c01ffa6aa5 (diff)
parent17529bcf0ae20f1ac6d7846762bf0c6ad91dbb7f (diff)
downloadlinux-39e95bbbac67aea2462acc74253e1f163dd39682.tar.bz2
Merge tag 'psy-arm-gpio-charger-immutable-for-5.10-signed' into psy-next
Immutable branch between arm and power-supply for gpio-charger for 5.10 This immutable branch drops legacy gpio API from gpio-charger and updates the remaining users to the new gpiod API instead. Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/power/gpio-charger.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/power/gpio-charger.h b/include/linux/power/gpio-charger.h
index 5a5a8de98181..c0b7657ac1df 100644
--- a/include/linux/power/gpio-charger.h
+++ b/include/linux/power/gpio-charger.h
@@ -13,18 +13,12 @@
* struct gpio_charger_platform_data - platform_data for gpio_charger devices
* @name: Name for the chargers power_supply device
* @type: Type of the charger
- * @gpio: GPIO which is used to indicate the chargers status
- * @gpio_active_low: Should be set to 1 if the GPIO is active low otherwise 0
* @supplied_to: Array of battery names to which this chargers supplies power
* @num_supplicants: Number of entries in the supplied_to array
*/
struct gpio_charger_platform_data {
const char *name;
enum power_supply_type type;
-
- int gpio;
- int gpio_active_low;
-
char **supplied_to;
size_t num_supplicants;
};