usb: typec: tcpci_mt6370: remove redundant dev_err_probe()
authorZhu Wang <wangzhu9@huawei.com>
Tue, 1 Aug 2023 12:28:34 +0000 (20:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Aug 2023 12:46:16 +0000 (14:46 +0200)
commitd3af2f4c0434f3dde7f921f52614af81787bbec6
tree8bbc94d063174cdd6c5b2c9bba39c2e5cc632652
parentadbe9720e573d0466b506df3b848bcf4c4dd63c9
usb: typec: tcpci_mt6370: remove redundant dev_err_probe()

When platform_get_irq() is called, the error message has been printed,
so it need not to call dev_err_probe() to present error messages.

Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20230801122834.89168-1-wangzhu9@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci_mt6370.c