power: supply: generic-adc-battery: drop charge now support
Drop CHARGE_NOW support, which requires a platform specific calculation method. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
@@ -10,11 +10,9 @@
|
||||
* struct gab_platform_data - platform_data for generic adc iio battery driver.
|
||||
* @battery_info: recommended structure to specify static power supply
|
||||
* parameters
|
||||
* @cal_charge: calculate charge level.
|
||||
*/
|
||||
struct gab_platform_data {
|
||||
struct power_supply_info battery_info;
|
||||
int (*cal_charge)(long value);
|
||||
};
|
||||
|
||||
#endif /* GENERIC_ADC_BATTERY_H */
|
||||
|
||||
Reference in New Issue
Block a user