Skip to content

mmc: sdhci-of-dwcmshc: minor cleanups

Artem Shimko linux-mmc lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v23 patches 4 repliesSuperseded
  3. v13 patches 7 repliesSuperseded

Changes in v3 from the cover letter

* Drop fsleep() patch to keep initial delay/sleep values

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mmc: sdhci-of-dwcmshc: remove redundant IS_ERR() checkdrivers/mmc/host/sdhci-of-dwcmshc.c+2 -40 replies
2/2mmc: sdhci-of-dwcmshc: use dev_err_probe() to simplify error pathsdrivers/mmc/host/sdhci-of-dwcmshc.c+11 -190 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAdrian Hunter
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] mmc: sdhci-of-dwcmshc: minor cleanups

Hi,

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

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

Patch 2 converts error handling in probe paths to use dev_err_probe() macro for more compact code and better deferred probe debugging.

--
Best regards,
Artem
---
ChangeLog:
v1:
* https://lore.kernel.org/all/[email protected]/T/#t
v2:
* https://lore.kernel.org/all/[email protected]/T/#t
v3:
* Drop fsleep() patch to keep initial delay/sleep values

Artem Shimko (2):
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 | 36 +++++++++++------------------
 1 file changed, 13 insertions(+), 23 deletions(-)
Signature · 1 line
2.43.0