Skip to contentSkip to conversation

mmc: sdhci-of-dwcmshc: Remove useless "&" of th1520_execute_tuning

PATCH In review Jisheng Zhang 3 participants 3 messages Apr 14, 2024 – Apr 25, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: sdhci-of-dwcmshc: Remove useless "&" of th1520_execute_tuning

The preceding "&" before th1520_execute_tuning is useless, remove it.

---
 drivers/mmc/host/sdhci-of-dwcmshc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sdhci-of-dwcmshc.c +1 -1
index 7b55acd9830c..6206ff7615e8 100644
@@ -822,7 +822,7 @@ static const struct sdhci_ops sdhci_dwcmshc_th1520_ops = {
 	.reset			= th1520_sdhci_reset,
 	.adma_write_desc	= dwcmshc_adma_write_desc,
 	.voltage_switch		= dwcmshc_phy_1_8v_init,
-	.platform_execute_tuning = &th1520_execute_tuning,
+	.platform_execute_tuning = th1520_execute_tuning,
 };
 
 static const struct sdhci_ops sdhci_dwcmshc_cv18xx_ops = {
Signature · 1 line
2.43.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jisheng Zhang

The preceding "&" before th1520_execute_tuning is useless, remove it.

Quoted 17 lines
---
 drivers/mmc/host/sdhci-of-dwcmshc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sdhci-of-dwcmshc.c +1 -1
index 7b55acd9830c..6206ff7615e8 100644
@@ -822,7 +822,7 @@ static const struct sdhci_ops sdhci_dwcmshc_th1520_ops = {
 	.reset			= th1520_sdhci_reset,
 	.adma_write_desc	= dwcmshc_adma_write_desc,
 	.voltage_switch		= dwcmshc_phy_1_8v_init,
-	.platform_execute_tuning = &th1520_execute_tuning,
+	.platform_execute_tuning = th1520_execute_tuning,
 };
 
 static const struct sdhci_ops sdhci_dwcmshc_cv18xx_ops = {
#2 lore raw
In reply to Jisheng Zhang
Quoted 4 lines · Jisheng Zhang

The preceding "&" before th1520_execute_tuning is useless, remove it.

Applied for next, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/mmc/host/sdhci-of-dwcmshc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sdhci-of-dwcmshc.c +1 -2
index 7b55acd9830c..6206ff7615e8 100644
@@ -822,7 +822,7 @@ static const struct sdhci_ops sdhci_dwcmshc_th1520_ops = {
        .reset                  = th1520_sdhci_reset,
        .adma_write_desc        = dwcmshc_adma_write_desc,
        .voltage_switch         = dwcmshc_phy_1_8v_init,
-       .platform_execute_tuning = &th1520_execute_tuning,
+       .platform_execute_tuning = th1520_execute_tuning,
 };
 
 static const struct sdhci_ops sdhci_dwcmshc_cv18xx_ops = {
--

2.43.0