[PATCH v2 16/18] iio: magnetometer: ak8974: Simplify with dev_err_probe()
Linus Walleij
linus.walleij at linaro.org
Fri Aug 28 10:33:15 EDT 2020
On Thu, Aug 27, 2020 at 9:29 PM Krzysztof Kozlowski <krzk at kernel.org> 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: Krzysztof Kozlowski <krzk at kernel.org>
Acked-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-amlogic
mailing list