aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-omap-100k.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-06-04 10:17:08 -0400
committerMark Brown <broonie@linaro.org>2014-06-06 06:14:29 -0400
commitd746abd4964f06482e9aab38b297f41353eb6433 (patch)
treedf0db8b98de42ff179deae80c9ec6bfdfcf7f7c3 /drivers/spi/spi-omap-100k.c
parent43e48cc3e65777bc8b252001c0184fca1c060758 (diff)
spi: omap-100k: Remove unnecessary platform_set_drvdata()
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>
Diffstat (limited to 'drivers/spi/spi-omap-100k.c')
-rw-r--r--drivers/spi/spi-omap-100k.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c
index e7ffcded4e14..5e91858f6f01 100644
--- 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)
420 master->min_speed_hz = OMAP1_SPI100K_MAX_FREQ/(1<<16); 420 master->min_speed_hz = OMAP1_SPI100K_MAX_FREQ/(1<<16);
421 master->max_speed_hz = OMAP1_SPI100K_MAX_FREQ; 421 master->max_speed_hz = OMAP1_SPI100K_MAX_FREQ;
422 422
423 platform_set_drvdata(pdev, master);
424
425 spi100k = spi_master_get_devdata(master); 423 spi100k = spi_master_get_devdata(master);
426 424
427 /* 425 /*