spi: omap-100k: Remove unused fields from struct omap1_spi100k

Both *master and state are not really used, remove them.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Axel Lin 2014-02-09 11:35:59 +08:00 committed by Mark Brown
parent 77c398f58c
commit 79c2f49a2d
1 changed files with 0 additions and 7 deletions

View File

@ -83,15 +83,11 @@
#define SPI_SHUTDOWN 1 #define SPI_SHUTDOWN 1
struct omap1_spi100k { struct omap1_spi100k {
struct spi_master *master;
struct clk *ick; struct clk *ick;
struct clk *fck; struct clk *fck;
/* Virtual base address of the controller */ /* Virtual base address of the controller */
void __iomem *base; void __iomem *base;
/* State of the SPI */
unsigned int state;
}; };
struct omap1_spi100k_cs { struct omap1_spi100k_cs {
@ -425,7 +421,6 @@ static int omap1_spi100k_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, master); platform_set_drvdata(pdev, master);
spi100k = spi_master_get_devdata(master); spi100k = spi_master_get_devdata(master);
spi100k->master = master;
/* /*
* The memory region base address is taken as the platform_data. * The memory region base address is taken as the platform_data.
@ -452,8 +447,6 @@ static int omap1_spi100k_probe(struct platform_device *pdev)
if (status < 0) if (status < 0)
goto err; goto err;
spi100k->state = SPI_RUNNING;
return status; return status;
err: err: