aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-nuc900.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-nuc900.c')
-rw-r--r--drivers/spi/spi-nuc900.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-nuc900.c b/drivers/spi/spi-nuc900.c
index 182e9c873822..dae8be229c5d 100644
--- a/drivers/spi/spi-nuc900.c
+++ b/drivers/spi/spi-nuc900.c
@@ -360,8 +360,6 @@ static int __devinit nuc900_spi_probe(struct platform_device *pdev)
360 } 360 }
361 361
362 hw = spi_master_get_devdata(master); 362 hw = spi_master_get_devdata(master);
363 memset(hw, 0, sizeof(struct nuc900_spi));
364
365 hw->master = spi_master_get(master); 363 hw->master = spi_master_get(master);
366 hw->pdata = pdev->dev.platform_data; 364 hw->pdata = pdev->dev.platform_data;
367 hw->dev = &pdev->dev; 365 hw->dev = &pdev->dev;