aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-11-25 15:36:26 +0800
committerLee Jones <[email protected]>2022-12-08 14:41:29 +0000
commit14f8c55d48e02157519fbcb3a5de557abd8a06e2 (patch)
treea57101b08118f4a071d795186fdaa35270dc71b6 /drivers/usb/cdns3/cdns3-debug.h
parentcb83cb0dfa821b9c91cc9b2e3473f0ea42e11461 (diff)
mfd: pm8008: Fix return value check in pm8008_probe()
In case of error, the function devm_regmap_init_i2c() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 6b149f3310a4 ("mfd: pm8008: Add driver for QCOM PM8008 PMIC") Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Acked-by: Guru Das Srinagesh <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions