diff options
author | 2021-01-11 15:54:58 +0200 | |
---|---|---|
committer | 2021-01-12 12:50:56 +0100 | |
commit | 0c0a20f6da04780b94e3ccc43101dde6f536ab37 (patch) | |
tree | 5b3cae85e8940b96f8eee2e43ee610f074e41e51 /drivers/usb/gadget/function/f_midi.c | |
parent | usb: dwc3: keystone: Simplify with dev_err_probe() (diff) | |
download | linux-dev-0c0a20f6da04780b94e3ccc43101dde6f536ab37.tar.xz linux-dev-0c0a20f6da04780b94e3ccc43101dde6f536ab37.zip |
usb: dwc3: 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/20210111135458.57084-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/function/f_midi.c')
0 files changed, 0 insertions, 0 deletions