Message ID | 1373263914-18050-2-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show |
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@linaro.org> > --- > 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@broadcom.com> thanks, csd
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),
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@linaro.org> --- drivers/mmc/host/sdhci-bcm-kona.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)