diff mbox series

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

Message ID 20240414164357.2841-1-jszhang@kernel.org
State New
Headers show
Series mmc: sdhci-of-dwcmshc: Remove useless "&" of th1520_execute_tuning | expand

Commit Message

Jisheng Zhang April 14, 2024, 4:43 p.m. UTC
The preceding "&" before th1520_execute_tuning is useless, remove it.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
---
 drivers/mmc/host/sdhci-of-dwcmshc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Adrian Hunter April 15, 2024, 6:14 a.m. UTC | #1
On 14/04/24 19:43, Jisheng Zhang wrote:
> The preceding "&" before th1520_execute_tuning is useless, remove it.
> 
> Signed-off-by: Jisheng Zhang <jszhang@kernel.org>

Acked-by: Adrian Hunter <adrian.hunter@intel.com>

> ---
>  drivers/mmc/host/sdhci-of-dwcmshc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
> index 7b55acd9830c..6206ff7615e8 100644
> --- a/drivers/mmc/host/sdhci-of-dwcmshc.c
> +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
> @@ -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 = {
Ulf Hansson April 25, 2024, 4:21 p.m. UTC | #2
On Sun, 14 Apr 2024 at 18:57, Jisheng Zhang <jszhang@kernel.org> wrote:
>
> The preceding "&" before th1520_execute_tuning is useless, remove it.
>
> Signed-off-by: Jisheng Zhang <jszhang@kernel.org>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/sdhci-of-dwcmshc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
> index 7b55acd9830c..6206ff7615e8 100644
> --- a/drivers/mmc/host/sdhci-of-dwcmshc.c
> +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
> @@ -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
>
diff mbox series

Patch

diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
index 7b55acd9830c..6206ff7615e8 100644
--- a/drivers/mmc/host/sdhci-of-dwcmshc.c
+++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
@@ -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 = {