usb: dwc3: keystone: Simplify with dev_err_probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 11 Jan 2021 13:55:39 +0000 (15:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 11:50:45 +0000 (12:50 +0100)
commit370e3d5b711ded835dfb8d32d917a7c652783984
tree45b958a8121fb7df39d522dda61e9875d19e1bf4
parent49d08cfc7830440517216b6d51bd0c38b5314c7f
usb: dwc3: keystone: Simplify with dev_err_probe()

Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and the error value gets printed.

Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210111135539.57234-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-keystone.c