Hans de Goede
2d7e6a8376
power: supply: max17042_battery: Always fall back to default platform-data
...
It is possible to have CONFIG_OF enabled on x86 builds, where we have no
firmware provided max17042_platform_data. The CONFIG_OF implementation of
max17042_get_pdata would return NULL in this case, causing the probe to
fail.
Instead always fallback to the default platform-data, as used on x86 sofar,
when there is no firmware provided pdata, independent of CONFIG_OF.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
2018-01-23 16:51:22 +01:00
..
2017-11-02 11:10:55 +01:00
2017-01-17 00:28:38 +01:00
2017-12-01 16:21:18 +01:00
2016-10-19 05:06:22 +02:00
2017-07-24 14:09:00 +02:00
2018-01-08 18:40:46 +01:00
2017-06-08 17:57:53 +02:00
2017-05-15 15:28:14 +02:00
2018-01-08 18:38:57 +01:00
2018-01-09 17:50:05 +01:00
2017-07-25 15:31:21 +02:00
2017-12-08 18:02:15 +01:00
2017-12-08 18:02:15 +01:00
2017-01-21 03:35:07 +01:00
2018-01-08 18:40:06 +01:00
2016-09-19 20:56:22 +02:00
2017-06-15 16:47:35 +02:00
2017-04-14 01:41:34 +02:00
2017-12-01 16:14:06 +01:00
2017-12-01 16:22:10 +01:00
2017-11-13 11:56:12 +01:00
2017-06-09 11:54:54 +02:00
2017-08-09 17:42:56 +02:00
2017-08-09 17:42:56 +02:00
2017-11-06 13:49:14 +01:00
2017-01-04 22:04:50 +01:00
2016-11-23 23:44:40 +01:00
2017-05-01 11:52:25 +02:00
2017-11-15 10:14:11 -08:00
2017-04-14 01:41:35 +02:00
2017-08-12 13:58:14 -04:00
2017-12-01 16:41:05 +01:00
2017-06-08 13:05:27 +02:00
2017-11-14 17:52:21 -08:00
2017-07-24 14:09:34 +02:00
2017-11-06 13:49:12 +01:00
2017-01-29 23:15:17 +01:00
2017-04-14 01:41:33 +02:00
2018-01-23 16:51:22 +01:00
2017-08-28 18:48:44 +02:00
2017-11-06 13:49:57 +01:00
2017-05-01 12:41:58 +02:00
2017-11-06 13:59:41 +01:00
2017-06-08 16:29:28 +02:00
2017-10-23 14:07:58 +09:00
2017-05-01 13:03:09 +02:00
2017-10-29 00:45:59 +02:00
2017-04-14 01:41:34 +02:00
2017-12-01 16:08:00 +01:00
2017-04-14 01:41:35 +02:00
2017-11-06 13:59:41 +01:00
2017-05-01 13:03:09 +02:00
2017-01-04 22:04:20 +01:00
2017-08-15 15:05:01 +03:00
2016-11-23 23:46:20 +01:00