[PATCH 2/6] mtd: rawnand: atmel: Simplify with dev_err_probe()

Miquel Raynal miquel.raynal at bootlin.com
Fri Sep 11 12:56:03 EDT 2020


On Tue, 2020-09-01 at 14:25:31 UTC, 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 <krzk at kernel.org>
> Reviewed-by: Alexandre Belloni <alexandre.belloni at bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-arm-kernel mailing list