diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-01 17:30:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-04 17:14:29 +0200 |
commit | ea43a60b15486bca1c406b59034e3561d543d571 (patch) | |
tree | 0df9faff75016652deacd5ef2e9c0e9418badd74 /arch/mips/cavium-octeon/Kconfig | |
parent | 5f0e708c8d74049f524e7407b523cce4330b090f (diff) |
serial: 8250: 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 <krzk@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
Link: https://lore.kernel.org/r/20200901153100.18827-1-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/cavium-octeon/Kconfig')
0 files changed, 0 insertions, 0 deletions