diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-26 11:21:00 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-26 11:21:00 -0400 |
commit | 5bd30ed95b8b464efb0e345ae88f3c12be4f102c (patch) | |
tree | a470124bcdce4f7519e82102433926e3c1e56d42 /drivers/spi | |
parent | 95e40cc528dc7410a7d5883c9144264601b11e7c (diff) | |
parent | 86db3b04fe386caa98bb4be00408f082b60a74b0 (diff) |
Merge remote-tracking branch 'spi/topic/mxs' into spi-next
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-mxs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c index 62b7e8ee1163..424d38e59421 100644 --- a/drivers/spi/spi-mxs.c +++ b/drivers/spi/spi-mxs.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <linux/gpio.h> | 46 | #include <linux/gpio.h> |
47 | #include <linux/regulator/consumer.h> | 47 | #include <linux/regulator/consumer.h> |
48 | #include <linux/module.h> | 48 | #include <linux/module.h> |
49 | #include <linux/pinctrl/consumer.h> | ||
50 | #include <linux/stmp_device.h> | 49 | #include <linux/stmp_device.h> |
51 | #include <linux/spi/spi.h> | 50 | #include <linux/spi/spi.h> |
52 | #include <linux/spi/mxs-spi.h> | 51 | #include <linux/spi/mxs-spi.h> |
@@ -500,7 +499,6 @@ static int mxs_spi_probe(struct platform_device *pdev) | |||
500 | struct mxs_spi *spi; | 499 | struct mxs_spi *spi; |
501 | struct mxs_ssp *ssp; | 500 | struct mxs_ssp *ssp; |
502 | struct resource *iores; | 501 | struct resource *iores; |
503 | struct pinctrl *pinctrl; | ||
504 | struct clk *clk; | 502 | struct clk *clk; |
505 | void __iomem *base; | 503 | void __iomem *base; |
506 | int devid, clk_freq; | 504 | int devid, clk_freq; |
@@ -522,10 +520,6 @@ static int mxs_spi_probe(struct platform_device *pdev) | |||
522 | if (IS_ERR(base)) | 520 | if (IS_ERR(base)) |
523 | return PTR_ERR(base); | 521 | return PTR_ERR(base); |
524 | 522 | ||
525 | pinctrl = devm_pinctrl_get_select_default(&pdev->dev); | ||
526 | if (IS_ERR(pinctrl)) | ||
527 | return PTR_ERR(pinctrl); | ||
528 | |||
529 | clk = devm_clk_get(&pdev->dev, NULL); | 523 | clk = devm_clk_get(&pdev->dev, NULL); |
530 | if (IS_ERR(clk)) | 524 | if (IS_ERR(clk)) |
531 | return PTR_ERR(clk); | 525 | return PTR_ERR(clk); |