Re: [PATCH 2/3] mmc: sdhci-bcm-kona: Remove redundant use of_match_ptr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13-07-07 11:11 PM, Sachin Kamat wrote:
sdhci_bcm_kona_of_match structure is always compiled in. Hence
of_match_ptr macro is not necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
---
  drivers/mmc/host/sdhci-bcm-kona.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c
index bca6d55..d7a44ae 100644
--- a/drivers/mmc/host/sdhci-bcm-kona.c
+++ b/drivers/mmc/host/sdhci-bcm-kona.c
@@ -335,7 +335,7 @@ static struct platform_driver sdhci_bcm_kona_driver = {
  		.name	= "sdhci-kona",
  		.owner	= THIS_MODULE,
  		.pm	= SDHCI_PLTFM_PMOPS,
-		.of_match_table = of_match_ptr(sdhci_bcm_kona_of_match),
+		.of_match_table = sdhci_bcm_kona_of_match,
  	},
  	.probe		= sdhci_bcm_kona_probe,
  	.remove		= __exit_p(sdhci_bcm_kona_remove),
Acked-by: Christian Daudt <csd@xxxxxxxxxxxx>

 thanks,
   csd

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux