linux/drivers/usb/fotg210
Yang Yingliang 21ef9c91f0 usb: fotg210: fix return value check in fotg210_probe()
devm_platform_get_and_ioremap_resource() never returns NULL pointer,
it will return ERR_PTR() when it fails, so replace the check with
IS_ERR().

Fixes: baef5330d3 ("usb: fotg210: Acquire memory resource in core")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230130120633.3342285-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-31 10:39:03 +01:00
..
fotg210-core.c usb: fotg210: fix return value check in fotg210_probe() 2023-01-31 10:39:03 +01:00
fotg210-hcd.c usb: fotg210: Switch to use dev_err_probe() 2023-01-24 18:12:58 +01:00
fotg210-hcd.h usb: fotg210: Acquire memory resource in core 2023-01-19 14:10:43 +01:00
fotg210-udc.c usb: fotg210: Switch to use dev_err_probe() 2023-01-24 18:12:58 +01:00
fotg210-udc.h fotg210-udc: Improve device initialization 2023-01-24 18:12:18 +01:00
fotg210.h usb: fotg210-udc: Implement VBUS session 2023-01-19 14:10:44 +01:00
Kconfig usb: fotg210: fix a Kconfig spelling mistake 2023-01-25 15:43:24 +01:00
Makefile