Message ID | 1368510549-7230-1-git-send-email-Baohua.Song@csr.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, May 14, 2013 at 7:49 AM, Barry Song <Baohua.Song@csr.com> wrote: > With device core now able to setup the default pin configuration, the call > to devm_pinctrl_get_select_default can be removed. And the pin configuration > code based on the deprecated Samsung specific gpio bindings is also removed. > > CC: Linus Walleij <linus.walleij@linaro.org> > Signed-off-by: Barry Song <Baohua.Song@csr.com> Also delete this line: #include <linux/pinctrl/consumer.h> After that: Acked-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
diff --git a/drivers/mmc/host/sdhci-sirf.c b/drivers/mmc/host/sdhci-sirf.c index 09805af..04c81cf 100644 --- a/drivers/mmc/host/sdhci-sirf.c +++ b/drivers/mmc/host/sdhci-sirf.c @@ -46,15 +46,8 @@ static int sdhci_sirf_probe(struct platform_device *pdev) struct sdhci_host *host; struct sdhci_pltfm_host *pltfm_host; struct sdhci_sirf_priv *priv; - struct pinctrl *pinctrl; int ret; - pinctrl = devm_pinctrl_get_select_default(&pdev->dev); - if (IS_ERR(pinctrl)) { - dev_err(&pdev->dev, "unable to get pinmux"); - return PTR_ERR(pinctrl); - } - priv = devm_kzalloc(&pdev->dev, sizeof(struct sdhci_sirf_priv), GFP_KERNEL); if (!priv) {
With device core now able to setup the default pin configuration, the call to devm_pinctrl_get_select_default can be removed. And the pin configuration code based on the deprecated Samsung specific gpio bindings is also removed. CC: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Barry Song <Baohua.Song@csr.com> --- drivers/mmc/host/sdhci-sirf.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)