commit | ea43a60b15486bca1c406b59034e3561d543d571 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Tue Sep 01 17:30:59 2020 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 04 17:14:29 2020 +0200 |
tree | 0df9faff75016652deacd5ef2e9c0e9418badd74 | |
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>