aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2014-04-01 09:23:49 -0400
committerNishanth Menon <nm@ti.com>2014-05-05 15:32:23 -0400
commit442a4da7cad64cf7270cbbbed9ad69dc4a1bc263 (patch)
treee92dac2072d807dc03eedeaf0acb1eb0a610c96b /drivers/bus
parenta0ef78f353d6edc9f88d3247601f1dc5ad8f4b84 (diff)
drivers: bus: omap_l3: Remove the platform driver's remove function
It is NOP after the devm_* conversion. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Nishanth Menon <nm@ti.com> Tested-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/omap_l3_noc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c
index 25bcb60be880..0eff48585ae3 100644
--- a/drivers/bus/omap_l3_noc.c
+++ b/drivers/bus/omap_l3_noc.c
@@ -173,11 +173,6 @@ static int omap4_l3_probe(struct platform_device *pdev)
173 return ret; 173 return ret;
174} 174}
175 175
176static int omap4_l3_remove(struct platform_device *pdev)
177{
178 return 0;
179}
180
181#if defined(CONFIG_OF) 176#if defined(CONFIG_OF)
182static const struct of_device_id l3_noc_match[] = { 177static const struct of_device_id l3_noc_match[] = {
183 {.compatible = "ti,omap4-l3-noc", }, 178 {.compatible = "ti,omap4-l3-noc", },
@@ -190,7 +185,6 @@ MODULE_DEVICE_TABLE(of, l3_noc_match);
190 185
191static struct platform_driver omap4_l3_driver = { 186static struct platform_driver omap4_l3_driver = {
192 .probe = omap4_l3_probe, 187 .probe = omap4_l3_probe,
193 .remove = omap4_l3_remove,
194 .driver = { 188 .driver = {
195 .name = "omap_l3_noc", 189 .name = "omap_l3_noc",
196 .owner = THIS_MODULE, 190 .owner = THIS_MODULE,