aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-11-25 14:35:48 +0800
committerJassi Brar <[email protected]>2022-12-18 20:40:30 -0600
commit165b7643f2df890066b1b4e8a387888a600ca9bf (patch)
tree5d18d4c6fd207007ad00bb1718e1fcad3f938867 /drivers/usb/cdns3/cdns3-debug.h
parentf2b53c2956207b76c42407f3c089a2c1561a58ef (diff)
mailbox: arm_mhuv2: Fix return value check in mhuv2_probe()
If devm_of_iomap() fails, it returns ERR_PTR() and never return NULL, so replace NULL pointer check with IS_ERR() to fix this problem. Fixes: 5a6338cce9f4 ("mailbox: arm_mhuv2: Add driver") Signed-off-by: Yang Yingliang <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions