diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-01 16:25:31 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-09-30 16:44:16 +0200 |
commit | 1caa7522fad54d8439dae8515d0a89f3fabc65a7 (patch) | |
tree | ed41eaf43162eb688bfd5876b67101d7f3cfc8dd /drivers/ata/pata_pxa.c | |
parent | mtd: onenand: Simplify with dev_err_probe() (diff) | |
download | linux-1caa7522fad54d8439dae8515d0a89f3fabc65a7.tar.xz linux-1caa7522fad54d8439dae8515d0a89f3fabc65a7.zip |
mtd: rawnand: atmel: Simplify with dev_err_probe()
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@kernel.org>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200901142535.12819-2-krzk@kernel.org
Diffstat (limited to 'drivers/ata/pata_pxa.c')
0 files changed, 0 insertions, 0 deletions