Commit 5bd30ed9 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'spi/topic/mxs' into spi-next

parents 95e40cc5 86db3b04
...@@ -46,7 +46,6 @@ ...@@ -46,7 +46,6 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/pinctrl/consumer.h>
#include <linux/stmp_device.h> #include <linux/stmp_device.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/spi/mxs-spi.h> #include <linux/spi/mxs-spi.h>
...@@ -500,7 +499,6 @@ static int mxs_spi_probe(struct platform_device *pdev) ...@@ -500,7 +499,6 @@ static int mxs_spi_probe(struct platform_device *pdev)
struct mxs_spi *spi; struct mxs_spi *spi;
struct mxs_ssp *ssp; struct mxs_ssp *ssp;
struct resource *iores; struct resource *iores;
struct pinctrl *pinctrl;
struct clk *clk; struct clk *clk;
void __iomem *base; void __iomem *base;
int devid, clk_freq; int devid, clk_freq;
...@@ -522,10 +520,6 @@ static int mxs_spi_probe(struct platform_device *pdev) ...@@ -522,10 +520,6 @@ static int mxs_spi_probe(struct platform_device *pdev)
if (IS_ERR(base)) if (IS_ERR(base))
return PTR_ERR(base); return PTR_ERR(base);
pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
if (IS_ERR(pinctrl))
return PTR_ERR(pinctrl);
clk = devm_clk_get(&pdev->dev, NULL); clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(clk)) if (IS_ERR(clk))
return PTR_ERR(clk); return PTR_ERR(clk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment