-
由 Wang YanQing 提交于
platform_device_alloc could failed and return NULL, we should check this before call platform_device_put. Signed-off-by: NWang YanQing <udknight@gmail.com> Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
090da752
platform_device_alloc could failed and return NULL, we should check this before call platform_device_put. Signed-off-by: NWang YanQing <udknight@gmail.com> Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>