summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-omap-100k.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-10 17:34:55 +0400
committerMark Brown <broonie@linaro.org>2013-07-15 14:39:29 +0400
commit407d600f1fb99978bde36b79403f6177865697b6 (patch)
treede2c6c2a1551a9fcfd9ee0635779ea85b3d5528c /drivers/spi/spi-omap-100k.c
parent24a0013a04e81e95198daab98edf4df02e191568 (diff)
downloadlinux-407d600f1fb99978bde36b79403f6177865697b6.tar.xz
spi/omap-100k: Remove empty reset function
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-omap-100k.c')
-rw-r--r--drivers/spi/spi-omap-100k.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c
index ee25670f8cfd..18bcaf3bcf17 100644
--- a/drivers/spi/spi-omap-100k.c
+++ b/drivers/spi/spi-omap-100k.c
@@ -472,11 +472,6 @@ static int omap1_spi100k_transfer(struct spi_device *spi, struct spi_message *m)
return 0;
}
-static int omap1_spi100k_reset(struct omap1_spi100k *spi100k)
-{
- return 0;
-}
-
static int omap1_spi100k_probe(struct platform_device *pdev)
{
struct spi_master *master;
@@ -532,9 +527,6 @@ static int omap1_spi100k_probe(struct platform_device *pdev)
goto err2;
}
- if (omap1_spi100k_reset(spi100k) < 0)
- goto err3;
-
status = spi_register_master(master);
if (status < 0)
goto err3;