Re: [PATCH V4 1/5] gpio: gpio-xilinx: Simplify with dev_err_probe()

2021-01-07 Thread Linus Walleij
On Wed, Jan 6, 2021 at 1:27 PM Srinivas Neeli wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Srinivas Neeli Reviewed-by: Linus Walleij Yours, Linus Walleij

[PATCH V4 1/5] gpio: gpio-xilinx: Simplify with dev_err_probe()

2021-01-06 Thread Srinivas Neeli
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Srinivas Neeli --- Changes in V4: -New patch --- drivers/gpio/gpio-xilinx.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dr