summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/s3c_adc_battery.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* power: supply: s3c-adc-battery: fix driver data initializationSergiy Kibrik2018-04-261-3/+5
| | | | | | | | | | | | 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>
* power: move power supply drivers to power/supplySebastian Reichel2016-08-111-0/+459
This moves all power supply drivers from drivers/power/ to drivers/power/supply/. The intention is a cleaner source tree, since drivers/power/ also contains frameworks unrelated to power supply, like adaptive voltage scaling. Signed-off-by: Sebastian Reichel <sre@kernel.org>