Inha Song
dd30acc889
mfd: wm8994: Fix NULL pointer exception on missing pdata
...
If we use the dev_get_platdata, pdata can be NULL in DT environments.
Actually, NULL pointer exception is occurs with error messages like this:
[ 1.226583] Unable to handle kernel NULL pointer dereference at virtual address 00000044
[ 1.467910] [<c02f1e38>] (wm8994_irq_init) from [<c02f1bd4>] (wm8994_i2c_probe+0x684/0x858)
[ 1.476241] [<c02f1bd4>] (wm8994_i2c_probe) from [<c0371c78>] (i2c_device_probe+0x11c/0x17c)
In wm8994-core, we already checked whether platform data is NULL and set the
wm8994->pdata to platform data if platform data is not NULL.
So, we can use wm8994->pdata instead of platform data.
Signed-off-by: Inha Song <ideal.song@samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2015-08-11 15:09:13 +01:00
..
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2014-09-26 08:15:45 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2014-10-20 16:20:53 +02:00
2015-08-11 15:09:01 +01:00
2015-06-22 12:25:27 +01:00
2015-06-22 12:25:28 +01:00
2015-03-13 23:15:54 +01:00
2014-06-03 08:11:51 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:42 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-02-26 10:04:07 +00:00
2015-08-11 15:08:42 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:11 +01:00
2015-08-11 15:08:51 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-06-15 13:18:24 +01:00
2015-06-22 12:23:02 +01:00
2014-03-19 08:58:07 +00:00
2015-08-11 15:08:48 +01:00
2015-05-27 13:34:15 +01:00
2015-08-11 15:08:48 +01:00
2015-06-22 12:25:01 +01:00
2015-03-12 09:06:40 +00:00
2015-06-22 12:25:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:08 +01:00
2015-06-22 12:25:20 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:51 +01:00
2015-06-22 12:25:01 +01:00
2015-01-22 15:56:24 +00:00
2015-08-11 15:09:01 +01:00
2013-09-26 11:04:16 +02:00
2015-03-26 14:20:18 +00:00
2014-07-22 13:17:06 +01:00
2015-08-11 15:09:06 +01:00
2015-03-26 14:20:18 +00:00
2015-08-11 15:09:02 +01:00
2015-08-11 15:09:01 +01:00
2014-01-06 09:13:29 +00:00
2014-10-20 16:20:53 +02:00
2015-03-30 08:19:56 +01:00
2015-08-11 15:08:48 +01:00
2015-06-22 12:25:01 +01:00
2015-06-22 12:25:01 +01:00
2015-07-28 09:56:47 +01:00
2015-07-28 09:56:47 +01:00
2015-07-28 09:56:47 +01:00
2015-07-28 09:56:47 +01:00
2015-08-11 15:09:00 +01:00
2015-05-06 08:03:20 +02:00
2015-08-11 15:09:03 +01:00
2015-08-11 15:08:50 +01:00
2015-08-11 15:08:50 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:03:21 +01:00
2015-01-22 15:55:56 +00:00
2015-08-11 15:08:45 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:08 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:08 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-03-04 08:18:28 +00:00
2015-06-22 12:25:24 +01:00
2015-08-11 15:08:48 +01:00
2015-01-22 16:03:44 +00:00
2014-07-09 14:58:10 +01:00
2014-07-22 13:17:02 +01:00
2014-10-20 16:20:53 +02:00
2015-03-30 10:06:55 +01:00
2014-09-24 13:30:16 +01:00
2015-07-28 08:50:43 +01:00
2015-08-11 15:09:11 +01:00
2015-01-22 16:03:53 +00:00
2014-10-20 16:20:53 +02:00
2015-08-11 15:08:48 +01:00
2014-03-19 08:58:07 +00:00
2015-01-22 15:56:21 +00:00
2015-08-11 15:09:04 +01:00
2015-08-11 15:08:48 +01:00
2015-03-30 10:07:08 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2014-06-03 08:11:17 +01:00
2015-08-11 15:08:48 +01:00
2015-03-26 14:20:18 +00:00
2014-09-26 08:15:51 +01:00
2015-08-11 15:09:10 +01:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-12 09:27:41 +00:00
2015-08-11 15:08:48 +01:00
2015-04-09 10:26:54 +01:00
2014-07-25 15:31:44 +01:00
2015-08-11 15:08:48 +01:00
2015-03-12 09:08:12 +00:00
2014-10-20 16:20:53 +02:00
2015-08-11 15:08:48 +01:00
2014-10-20 16:20:53 +02:00
2014-10-20 16:20:53 +02:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2014-12-30 16:59:59 -08:00
2015-08-11 15:09:09 +01:00
2015-01-22 15:55:49 +00:00
2014-12-14 16:10:09 -08:00
2015-08-11 15:09:06 +01:00
2015-08-11 15:09:01 +01:00
2014-11-25 16:18:58 +00:00
2015-08-11 15:09:06 +01:00
2015-03-03 16:41:15 +00:00
2014-03-19 08:58:34 +00:00
2014-07-25 15:31:47 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-04-09 10:26:40 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:10 +01:00
2015-08-11 15:09:10 +01:00
2015-08-11 15:08:48 +01:00
2014-10-20 16:20:53 +02:00
2014-03-19 08:58:07 +00:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2014-07-28 08:10:06 +01:00
2015-08-11 15:08:48 +01:00
2014-10-20 16:20:53 +02:00
2015-08-11 15:09:01 +01:00
2015-06-22 12:25:04 +01:00
2015-08-11 15:09:06 +01:00
2015-08-11 15:08:48 +01:00
2015-01-22 16:03:48 +00:00
2015-08-11 15:09:07 +01:00
2015-03-03 16:41:14 +00:00
2014-11-25 16:18:42 +00:00
2014-01-21 08:27:45 +00:00
2013-08-20 08:51:58 +01:00
2015-06-22 12:25:25 +01:00
2014-01-06 09:13:25 +00:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2014-01-21 08:27:51 +00:00
2015-08-11 15:08:56 +01:00
2015-08-11 15:08:56 +01:00
2015-06-22 12:25:26 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:13 +01:00
2015-08-11 15:08:47 +01:00
2015-08-11 15:08:56 +01:00
2015-08-11 15:08:56 +01:00