printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / power / gpio-charger.h
blobc0b7657ac1df5f534610ae3cc4d928b3a442e17e
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
4 */
6 #ifndef __LINUX_POWER_GPIO_CHARGER_H__
7 #define __LINUX_POWER_GPIO_CHARGER_H__
9 #include <linux/power_supply.h>
10 #include <linux/types.h>
12 /**
13 * struct gpio_charger_platform_data - platform_data for gpio_charger devices
14 * @name: Name for the chargers power_supply device
15 * @type: Type of the charger
16 * @supplied_to: Array of battery names to which this chargers supplies power
17 * @num_supplicants: Number of entries in the supplied_to array
19 struct gpio_charger_platform_data {
20 const char *name;
21 enum power_supply_type type;
22 char **supplied_to;
23 size_t num_supplicants;
26 #endif