diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-09-02 21:36:56 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2020-09-07 09:15:56 +0200 |
commit | 308d2722f6430839f06572af776f37f7af697134 (patch) | |
tree | 6bad104bf366f67e8efdc0daf1bb0a8522ff6173 /scripts/gdb/linux/modules.py | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions