All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sachin Kamat <sachin.kamat@linaro.org>
To: linux-mmc@vger.kernel.org
Cc: csd@broadcom.com, cjb@laptop.org, sachin.kamat@linaro.org,
	patches@linaro.org
Subject: [PATCH 2/3] mmc: sdhci-bcm-kona: Remove redundant use of_match_ptr
Date: Mon,  8 Jul 2013 11:41:52 +0530	[thread overview]
Message-ID: <1373263914-18050-2-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1373263914-18050-1-git-send-email-sachin.kamat@linaro.org>

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),
-- 
1.7.9.5


  reply	other threads:[~2013-07-08  6:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08  6:11 [PATCH 1/3] mmc: sdhci-bcm-kona: Remove unneeded version.h inclusion Sachin Kamat
2013-07-08  6:11 ` Sachin Kamat [this message]
2013-07-19 20:31   ` [PATCH 2/3] mmc: sdhci-bcm-kona: Remove redundant use of_match_ptr Christian Daudt
2013-07-08  6:11 ` [PATCH 3/3] mmc: sdhci-bcm-kona: Staticize sdhci_bcm_kona_card_event Sachin Kamat
2013-07-19 20:31   ` Christian Daudt
2013-07-19 11:10 ` [PATCH 1/3] mmc: sdhci-bcm-kona: Remove unneeded version.h inclusion Sachin Kamat
2013-07-19 20:31 ` Christian Daudt
2013-08-02  8:50   ` Sachin Kamat
2013-08-22  6:07   ` Sachin Kamat
2013-08-22 17:46     ` Christian Daudt
2013-08-23  8:44       ` Sachin Kamat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373263914-18050-2-git-send-email-sachin.kamat@linaro.org \
    --to=sachin.kamat@linaro.org \
    --cc=cjb@laptop.org \
    --cc=csd@broadcom.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=patches@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.