usb: typec: tcpm: fusb302: Do not log an error on -EPROBE_DEFER
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Feb 2018 15:20:01 +0000 (16:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 19:19:22 +0000 (11:19 -0800)
commit7832f6d12fa25cd4cfc18eaae67eb5e2dbaa2c34
tree02103aaa14596e3bd5ad32e1cee90898db61301f
parentd6c931ea32dc08ac2665bb5f009f9c40ad1bbdb3
usb: typec: tcpm: fusb302: Do not log an error on -EPROBE_DEFER

Do not log an error if tcpm_register_port() fails with -EPROBE_DEFER.

Fixes: cf140a356971 ("typec: fusb302: Use dev_err during probe")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/fusb302/fusb302.c