usb: mtu3: use dev_err_probe to print error log about extcon
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 28 May 2021 06:10:59 +0000 (14:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jun 2021 11:53:04 +0000 (13:53 +0200)
commitf3ec606efc2015060156729b8533216ae0bacf70
tree17cde1bbb7c4e1c3dad523bdb5ba5dd7f52c2437
parent10e93e081416e2c4651f9e0e9e3e5c5a4e6eb2bc
usb: mtu3: use dev_err_probe to print error log about extcon

Print an error log when the error number is not -EPROBE_DEFER

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1622182260-23767-4-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3_plat.c