diff options
| author | 2021-01-14 23:26:55 +0800 | |
|---|---|---|
| committer | 2021-02-01 11:54:46 +0100 | |
| commit | ffd68f356e411f79d5d448908a1f60e374c95cb2 (patch) | |
| tree | 895fc453ed656c9ad6b76693397d868454ce15f7 /drivers/mmc/core/core.c | |
| parent | mmc: sdhci-of-arasan: Add structure device pointer in probe function (diff) | |
| download | wireguard-linux-ffd68f356e411f79d5d448908a1f60e374c95cb2.tar.xz wireguard-linux-ffd68f356e411f79d5d448908a1f60e374c95cb2.zip | |
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: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Link: https://lore.kernel.org/r/20210114152700.21916-5-muhammad.husaini.zulkifli@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/core.c')
0 files changed, 0 insertions, 0 deletions
