[PATCH 0/3] mmc: sdhci-of-dwcmshc: Minor cleanups

Artem Shimko posted 3 patches 6 days, 17 hours ago
drivers/mmc/host/sdhci-of-dwcmshc.c | 41 +++++++++++------------------
1 file changed, 16 insertions(+), 25 deletions(-)
[PATCH 0/3] mmc: sdhci-of-dwcmshc: Minor cleanups
Posted by Artem Shimko 6 days, 17 hours ago
Hello,

This series introduces three non-functional cleanups for the Synopsys
DWC MSHC driver.

Patch 1 replaces udelay(1) with fsleep(1) in Rockchip-specific paths,
following the kernel documentation recommendation for delays in
non-atomic contexts.

Patch 2 removes redundant IS_ERR() checks for bus_clk in suspend/resume
paths where the called functions already have internal protection.

Patch 3 converts error handling in probe paths to use dev_err_probe()
macro for more compact code and better deferred probe debugging.
--
Best regards,
Artem

Artem Shimko (3):
  mmc: sdhci-of-dwcmshc: improve delay handling with fsleep()
  mmc: sdhci-of-dwcmshc: remove redundant IS_ERR() check
  mmc: sdhci-of-dwcmshc: use dev_err_probe() to simplify error paths

 drivers/mmc/host/sdhci-of-dwcmshc.c | 41 +++++++++++------------------
 1 file changed, 16 insertions(+), 25 deletions(-)

-- 
2.43.0