projects
/
GitHub
/
moto-9609
/
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:
43e48cc
)
spi: omap-100k: Remove unnecessary platform_set_drvdata()
author
Alexander Shiyan
<shc_work@mail.ru>
Wed, 4 Jun 2014 14:17:08 +0000
(18:17 +0400)
committer
Mark Brown
<broonie@linaro.org>
Fri, 6 Jun 2014 10:14:29 +0000
(11:14 +0100)
Drop call to platform_set_drvdata() as driver data is not used
anywhere in the driver.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
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 e7ffcded4e14b84d28cef21e0c8f321690d49e94..5e91858f6f01f819dfb0f4191e7f369e6f9bbafe 100644
(file)
--- a/
drivers/spi/spi-omap-100k.c
+++ b/
drivers/spi/spi-omap-100k.c
@@
-420,8
+420,6
@@
static int omap1_spi100k_probe(struct platform_device *pdev)
master->min_speed_hz = OMAP1_SPI100K_MAX_FREQ/(1<<16);
master->max_speed_hz = OMAP1_SPI100K_MAX_FREQ;
- platform_set_drvdata(pdev, master);
-
spi100k = spi_master_get_devdata(master);
/*