diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-02 21:36:56 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-09-07 09:15:56 +0200 |
commit | 308d2722f6430839f06572af776f37f7af697134 (patch) | |
tree | 6bad104bf366f67e8efdc0daf1bb0a8522ff6173 /Documentation | |
parent | 180a46652e09c7882330ab9ace060f0e13ca13f0 (diff) |
mmc: dw_mmc: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code, the error value gets printed and real error
from dw_mci_parse_dt() is passed further instead of fixed -EINVAL.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200902193658.20539-10-krzk@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions