diff options
author | Barry Song <Baohua.Song@csr.com> | 2013-05-14 13:49:09 +0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-06-27 10:34:17 -0400 |
commit | 0b856f4ecb7b82c56ba2c3c624a4b5c865398cc6 (patch) | |
tree | c9a15e2a77aa74b1c7fc79c73d780c3798864f12 /drivers/mmc/host | |
parent | 2cd1722496de794d336e4670d8de1e46fa84b773 (diff) | |
download | linux-stable-0b856f4ecb7b82c56ba2c3c624a4b5c865398cc6.tar.gz linux-stable-0b856f4ecb7b82c56ba2c3c624a4b5c865398cc6.tar.bz2 linux-stable-0b856f4ecb7b82c56ba2c3c624a4b5c865398cc6.zip |
mmc: sdhci-sirf: let device core setup the default pin configuration
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.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/sdhci-sirf.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mmc/host/sdhci-sirf.c b/drivers/mmc/host/sdhci-sirf.c index 09805af0526d..ccf12dd93616 100644 --- a/drivers/mmc/host/sdhci-sirf.c +++ b/drivers/mmc/host/sdhci-sirf.c @@ -13,7 +13,6 @@ #include <linux/of.h> #include <linux/of_gpio.h> #include <linux/mmc/slot-gpio.h> -#include <linux/pinctrl/consumer.h> #include "sdhci-pltfm.h" struct sdhci_sirf_priv { @@ -46,15 +45,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) { |