linux/drivers/slimbus
Lin Yujun 42992cf187 slimbus: qcom-ngd: Add error handling in of_qcom_slim_ngd_register
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>
2022-09-24 14:53:06 +02:00
..
core.c drivers: slimbus: Directly use ida_alloc()/free() 2022-07-08 15:43:42 +02:00
Kconfig slimbus: qcom-ngd-ctrl: allow compile testing without QCOM_RPROC_COMMON 2022-09-24 14:51:53 +02:00
Makefile slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
messaging.c slimbus: messaging: fix typos in comments 2022-07-08 15:43:42 +02:00
qcom-ctrl.c slimbus: qcom: Remove unnecessary print function dev_err() 2022-05-19 18:56:32 +02:00
qcom-ngd-ctrl.c slimbus: qcom-ngd: Add error handling in of_qcom_slim_ngd_register 2022-09-24 14:53:06 +02:00
sched.c slimbus: Add support for 'clock-pause' feature 2017-12-19 11:01:03 +01:00
slimbus.h slimbus: fix a kernel-doc markup 2020-11-27 16:03:42 +01:00
stream.c slimbus: fix kerneldoc comments 2019-06-10 18:44:21 +02:00