forked from Minki/linux
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>
This commit is contained in:
parent
43e48cc3e6
commit
d746abd496
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user