linux/drivers/power
Sergiy Kibrik 2490640b27 power: supply: s3c-adc-battery: fix driver data initialization
For power_supply_get_drvdata() routine to work correctly the driver data
has to be provided when registering power supply, otherwise driver gives up
immediately with these errors:

  power_supply main-battery: no battery infos ?!
  power_supply main-battery: driver failed to report `status' property: -22

Signed-off-by: Sergiy Kibrik <sakib@darkstar.site>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2018-04-26 00:12:11 +02:00
..
avs PM / AVS: SmartReflex: Prepare to use device tree based probing 2018-02-28 16:32:09 -08:00
reset gpio-poweroff: Use gpiod_set_value_cansleep 2018-04-25 23:05:59 +02:00
supply power: supply: s3c-adc-battery: fix driver data initialization 2018-04-26 00:12:11 +02:00
Kconfig
Makefile