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

Linus Walleij linus.walleij at linaro.org
Thu Jan 7 04:13:35 EST 2021


On Wed, Jan 6, 2021 at 1:27 PM Srinivas Neeli <srinivas.neeli at xilinx.com> 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 <srinivas.neeli at xilinx.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list