diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-09-01 17:31:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-09-04 17:14:31 +0200 |
commit | 89c65d664832ebaf2cbdcfe83b25c0036780feb7 (patch) | |
tree | 0b5544d6ed5b57d4ce3bf0b55f9555a219bcf6b8 /drivers/usb/cdns3/cdns3-debug.h | |
parent | ea43a60b15486bca1c406b59034e3561d543d571 (diff) |
serial: core: 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.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Lukas Wunner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions