Hans de Goede
eac53b3664
power: supply: axp288_charger: Drop platform_data dependency
...
When the axp288_charger driver was originally merged, it was merged with
a dependency on some other driver providing platform data for it.
However the battery-data-framework which should provide that data never
got merged, so the axp288_charger as merged upstream has never worked,
its probe method simply always returns -ENODEV.
This commit removes the dependency on the platform_data instead reading
back the charging current and charging voltage that the firmware has set
and using those values as the maximum values the user may set.
Signed-off-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Sebastian Reichel <sre@kernel.org >
2017-01-04 21:54:58 +01:00
..
2016-12-14 20:42:45 -08:00
2016-12-16 11:23:34 -08:00
2016-12-25 11:04:12 +01:00
2017-01-04 21:54:58 +01:00
2016-12-25 11:04:12 +01:00
2016-12-15 12:03:32 -08:00
2016-12-14 10:49:33 -08:00
2016-12-17 20:17:04 -08:00
2016-12-15 16:03:25 -08:00
2016-12-16 10:48:28 -08:00
2016-12-13 11:10:36 -08:00
2016-12-15 12:46:48 -08:00
2016-12-22 22:58:37 -05:00
2016-12-14 10:49:33 -08:00
2016-12-17 13:02:04 -07:00
2016-12-17 11:14:25 -05:00
2016-12-17 21:27:44 -05:00
2016-12-22 09:25:45 -08:00
2016-12-25 11:04:12 +01:00
2016-12-21 10:16:05 -08:00
2016-12-13 11:18:24 -08:00
2016-12-25 10:47:43 +01:00
2016-12-25 10:47:44 +01:00
2016-12-15 11:32:31 +01:00
2016-12-17 16:00:34 -08:00
2016-12-14 16:04:09 -08:00
2016-12-13 11:42:18 -08:00
2016-12-13 11:42:18 -08:00
2016-12-14 16:04:08 -08:00
2016-12-25 11:04:12 +01:00
2016-12-15 08:58:12 -02:00
2016-12-17 21:27:44 -05:00
2016-12-19 08:23:53 -08:00
2016-12-15 13:49:34 -08:00
2016-12-25 17:21:22 +01:00
2016-12-14 16:04:08 -08:00
2016-12-14 10:12:26 +01:00
2016-12-25 17:21:22 +01:00
2016-12-14 16:04:09 -08:00
2016-12-14 16:04:10 -08:00
2016-12-20 09:48:44 -08:00
2016-12-24 11:46:01 -08:00
2016-12-14 16:04:08 -08:00
2016-12-14 20:12:43 -08:00
2016-12-16 09:26:42 -08:00
2016-12-25 17:21:23 +01:00
2016-12-13 15:47:02 -08:00
2016-12-17 20:17:04 -08:00
2016-12-18 11:12:53 -08:00
2016-12-25 11:54:48 -08:00
2016-12-16 00:13:41 +02:00
2016-12-14 16:33:38 +01:00
2016-12-16 16:34:52 -05:00
2016-12-15 20:42:48 -05:00
2016-12-19 17:29:44 -05:00
2016-12-14 16:04:08 -08:00
2016-12-24 11:23:24 -08:00
2016-12-25 11:54:48 -08:00
2016-12-25 11:54:48 -08:00
2016-12-15 12:46:48 -08:00
2016-12-15 12:46:48 -08:00
2016-12-13 11:42:18 -08:00
2016-12-13 11:42:18 -08:00
2016-12-24 11:46:01 -08:00
2016-12-13 16:07:55 -08:00
2016-12-19 08:23:53 -08:00
2016-12-14 16:04:10 -08:00
2016-12-20 09:48:47 -08:00
2016-12-22 09:25:45 -08:00
2016-12-16 00:13:41 +02:00
2016-12-14 16:04:07 -08:00
2016-12-25 17:21:22 +01:00
2016-12-25 17:21:22 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2016-12-16 10:24:44 -08:00
2016-12-14 16:04:09 -08:00
2016-12-25 17:21:22 +01:00
2016-12-13 12:59:57 -08:00
2016-12-25 11:54:48 -08:00