projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89f98dc
)
spi: omap2-mcspi: Remove the call to platform_set_drvdata(pdev, NULL)
author
Shubhrajyoti D
<shubhrajyoti@ti.com>
Thu, 16 Aug 2012 15:19:30 +0000
(20:49 +0530)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 17 Aug 2012 21:56:31 +0000
(22:56 +0100)
Remove the call of platform_set_drvdata(pdev, NULL) as they are not
needed anymore.
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-omap2-mcspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-omap2-mcspi.c
b/drivers/spi/spi-omap2-mcspi.c
index bc4778175e343c6a9ebeceac09b0cc543c935bc2..84aeaf0e5a0f3d0b3a304791fab4912d1c3bdf23 100644
(file)
--- a/
drivers/spi/spi-omap2-mcspi.c
+++ b/
drivers/spi/spi-omap2-mcspi.c
@@
-1240,7
+1240,6
@@
dma_chnl_free:
kfree(mcspi->dma_channels);
free_master:
kfree(master);
- platform_set_drvdata(pdev, NULL);
return status;
}
@@
-1259,7
+1258,6
@@
static int __devexit omap2_mcspi_remove(struct platform_device *pdev)
spi_unregister_master(master);
kfree(dma_channels);
- platform_set_drvdata(pdev, NULL);
return 0;
}