diff options
author | Sergiy Kibrik <sakib@darkstar.site> | 2018-03-21 22:10:49 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | 2018-04-26 00:12:11 +0200 |
commit | 2490640b2764ee570eef83528a8fd888f3b6103c (patch) | |
tree | cc6b4306df79cfe13049e96641810003405ebaf9 /drivers/ptp/Makefile | |
parent | 111242d6e1aa0cbdf1dd91fff6f210ae0d4d01bc (diff) | |
download | linux-2490640b2764ee570eef83528a8fd888f3b6103c.tar.bz2 |
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>
Diffstat (limited to 'drivers/ptp/Makefile')
0 files changed, 0 insertions, 0 deletions