summaryrefslogtreecommitdiff
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorLin Yujun <linyujun809@huawei.com>2022-09-14 06:19:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-24 15:53:06 +0300
commit42992cf187e4e4bcfe3c58f8fc7b1832c5652d9f (patch)
treec36cc72d8873844764dcf813175962d933658fad /drivers/nvmem
parentbd1244561fa2a4531ded40dbf09c9599084f8b29 (diff)
downloadlinux-42992cf187e4e4bcfe3c58f8fc7b1832c5652d9f.tar.xz
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: 917809e2280b ("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>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions