Files
linux/drivers/slimbus
Lin Yujun 2872ed8c1a slimbus: qcom-ngd: Add error handling in of_qcom_slim_ngd_register
[ Upstream commit 42992cf187 ]

No error handling is performed when platform_device_add()
return fails. Refer to the error handling of driver_set_override(),
add error handling for platform_device_add().

Fixes: 917809e228 ("slimbus: ngd: Add qcom SLIMBus NGD driver")
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Lin Yujun <linyujun809@huawei.com>
Link: https://lore.kernel.org/r/20220914031953.94061-1-linyujun809@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-21 12:38:49 +02:00
..
2018-07-07 17:25:23 +02:00
2020-11-27 16:03:42 +01:00
2019-06-10 18:44:21 +02:00