projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a0013
)
spi/omap-100k: Remove empty reset function
author
Mark Brown
<broonie@linaro.org>
Wed, 10 Jul 2013 13:34:55 +0000
(14:34 +0100)
committer
Mark Brown
<broonie@linaro.org>
Mon, 15 Jul 2013 10:39:29 +0000
(11:39 +0100)
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-omap-100k.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-omap-100k.c
b/drivers/spi/spi-omap-100k.c
index ee25670f8cfd127341fff7ddc16562a7e512507d..18bcaf3bcf17356b5e3ab63cf72cb61c8f71fde8 100644
(file)
--- 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;