diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-01 16:25:33 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-09-30 16:44:17 +0200 |
commit | 6ce92faeefc0182b544cceec16392df734c35b5d (patch) | |
tree | eb931ea496dc7effc83dd3440fea34782f1ba4d6 /lib/test_xarray.c | |
parent | 78a73491662aae0cbb3e46f0366d1b45e6027071 (diff) |
mtd: rawnand: marvell: 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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200901142535.12819-4-krzk@kernel.org
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions