Grigoryev Denis
ea50e9d3c4
mfd: tps6105x: Fix possible NULL pointer access
...
tps6105 driver provides two cells. One is for GPIO and another one is
for selected mode depending on platform data. When tps6105x is used in
GPIO-only mode, this driver calls mfd_add_devices() with mfd_cell
.name == NULL. This value causes an oops in platform_device_register()
later.
The following patch adds a mfd_cell for each possible mode thereby
excluding .name assignment in runtime.
Signed-off-by: Denis Grigoryev <grigoryev@fastwel.ru>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2015-10-30 17:19:40 +00:00
..
2015-10-26 14:48:56 +00: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-09-04 11:46:02 -07:00
2015-08-11 15:08:48 +01:00
2015-10-26 14:49:05 +00: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-09-16 15:47:51 +02:00
2015-10-26 14:48:59 +00:00
2015-08-12 09:59:39 +01:00
2015-10-26 14:49:09 +00:00
2015-10-26 14:48:55 +00:00
2015-08-24 15:27:59 +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-10-13 11:28:36 +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-09-16 15:47:51 +02:00
2015-10-26 14:49:00 +00:00
2015-09-16 15:47:51 +02: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-10-26 15:25:55 +01:00
2015-10-30 17:18:50 +00:00
2015-09-04 15:49:32 -07:00
2015-06-22 12:25:01 +01:00
2015-07-21 09:22:08 +02:00
2015-07-28 09:56:47 +01:00
2015-07-28 09:56:47 +01:00
2015-10-26 14:49:03 +00: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-09-16 15:47:51 +02:00
2015-09-04 15:49:32 -07: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-10-30 17:18:50 +00:00
2015-01-22 15:55:56 +00:00
2015-10-30 17:18:50 +00: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-10-26 14:49:01 +00: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-09-04 11:35:03 -07:00
2015-07-16 21:39:30 +01: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-10-26 15:25:53 +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-09-16 15:47:51 +02:00
2015-10-30 17:19:40 +00: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-10-26 14:49:10 +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-03 16:41:21 +00:00
2015-03-12 09:27:41 +00:00
2015-10-26 14:49:04 +00: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
2015-10-26 14:49:02 +00: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-09-04 11:35:03 -07:00
2015-09-04 11:35:03 -07:00
2015-10-26 14:48:57 +00: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-09-16 15:47:51 +02:00
2015-08-11 15:09:01 +01:00
2014-11-25 16:18:58 +00:00
2015-09-16 15:47:51 +02:00
2015-03-03 16:41:15 +00:00
2014-03-19 08:58:34 +00:00
2015-10-30 17:19:40 +00: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-10-26 14:49:08 +00: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-10-26 14:48:56 +00:00
2015-08-05 05:10:06 +02:00
2015-09-16 15:47:51 +02: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
2015-10-26 14:49:04 +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-09-04 11:46:02 -07:00
2015-10-26 14:49:06 +00: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-09-04 11:46:02 -07:00
2015-08-11 15:09:13 +01:00
2015-08-11 15:08:47 +01:00
2015-09-04 11:46:02 -07:00
2015-10-26 14:49:07 +00:00