diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-01 16:25:35 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-09-30 16:44:17 +0200 |
commit | 07eb014faadd2e370032bc88ddbf3bf29e87411f (patch) | |
tree | dfec587d833fd383ed67f58a7c7c1818b20f14f9 /tools/perf/scripts/python | |
parent | c4bc1ec9ae570156e126bb34b08ec92d92f7ead9 (diff) |
mtd: rawnand: qcom: 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-6-krzk@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions