Re: [PATCH 1/2] serial: 8250: Simplify with dev_err_probe()

2020-09-02 Thread Lukas Wunner
On Tue, Sep 01, 2020 at 05:30:59PM +0200, Krzysztof Kozlowski wrote: > 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 Reviewed-by: Lukas Wunner

[PATCH 1/2] serial: 8250: Simplify with dev_err_probe()

2020-09-01 Thread Krzysztof Kozlowski
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 --- drivers/tty/serial/8250/8250_bcm2835aux.c | 12 +++- drivers/tty/serial/8250/8250_ingenic.c| 20 ++--

Re: [PATCH 1/2] serial: 8250: Simplify with dev_err_probe()

2020-09-01 Thread Florian Fainelli
On 9/1/2020 8:30 AM, Krzysztof Kozlowski wrote: 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 --- drivers/tty/serial/8250/8250_bcm2835aux.c | 12 +++-