diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-06-04 14:17:08 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-06 10:14:29 (GMT) |
commit | d746abd4964f06482e9aab38b297f41353eb6433 (patch) | |
tree | df0db8b98de42ff179deae80c9ec6bfdfcf7f7c3 /drivers | |
parent | 43e48cc3e65777bc8b252001c0184fca1c060758 (diff) | |
download | linux-d746abd4964f06482e9aab38b297f41353eb6433.tar.xz |
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')
-rw-r--r-- | drivers/spi/spi-omap-100k.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c index e7ffcde..5e91858 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) 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); /* |