diff options
author | 2018-03-21 22:10:49 +0200 | |
---|---|---|
committer | 2018-04-26 00:12:11 +0200 | |
commit | 2490640b2764ee570eef83528a8fd888f3b6103c (patch) | |
tree | cc6b4306df79cfe13049e96641810003405ebaf9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | power: supply: charger-manager: Verify polling interval only when polling requested (diff) | |
download | linux-dev-2490640b2764ee570eef83528a8fd888f3b6103c.tar.xz linux-dev-2490640b2764ee570eef83528a8fd888f3b6103c.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions