Skip to content
Commit ffd68f35 authored by Muhammad Husaini Zulkifli's avatar Muhammad Husaini Zulkifli Committed by Ulf Hansson
Browse files

mmc: sdhci-of-arasan: Use dev_err_probe() to avoid spamming logs



Using dev_err_probe() can avoid spamming logs when probe is deferred.
This function can also help to reduce code the size, uniform error handling
and simplify the code.

Signed-off-by: default avatarMuhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Acked-by: default avatarAndy Shevchenko <andriy.shevchenko@intel.com>
Link: https://lore.kernel.org/r/20210114152700.21916-5-muhammad.husaini.zulkifli@intel.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 2ff0b85d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment