Kangjie Lu 06d5d6b7f9 slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register
In case platform_device_alloc fails, the fix returns an error
code to avoid the NULL pointer dereference.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-25 22:23:06 +02:00
..
2019-04-15 16:48:51 -07:00
2019-03-06 09:41:12 -08:00
2019-04-21 23:14:47 +02:00
2019-03-16 13:05:32 -07:00
2019-03-29 03:04:47 +01:00
2019-03-06 14:18:59 -08:00
2019-03-10 11:54:48 -07:00
2019-03-28 02:07:54 +09:00
2019-03-10 10:17:23 -07:00
2019-03-14 09:00:06 -07:00
2019-04-20 12:52:23 -07:00
2019-03-09 14:57:08 -08:00
2019-03-16 12:51:50 -07:00
2019-03-06 09:41:12 -08:00
2019-03-29 15:31:16 +01:00
2019-04-10 22:45:38 -07:00
2019-03-15 14:22:59 -07:00
2019-03-11 11:22:15 -07:00
2019-04-07 06:12:10 -10:00
2019-03-10 12:29:52 -07:00