Searched hist:"308 d2722f6430839f06572af776f37f7af697134" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/mmc/host/ |
H A D | dw_mmc.c | diff 308d2722f6430839f06572af776f37f7af697134 Wed Sep 02 21:36:56 CEST 2020 Krzysztof Kozlowski <krzk@kernel.org> 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>
|