drivers: bus: omap_l3: Remove the platform driver's remove function
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 1 Apr 2014 13:23:49 +0000 (16:23 +0300)
committerNishanth Menon <nm@ti.com>
Mon, 5 May 2014 19:32:23 +0000 (14:32 -0500)
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>
drivers/bus/omap_l3_noc.c

index 25bcb60be880318873a1a5d06279a8b86efc1215..0eff48585ae36b3051fcbec27e8f82c416892fe0 100644 (file)
@@ -173,11 +173,6 @@ static int omap4_l3_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int omap4_l3_remove(struct platform_device *pdev)
-{
-       return 0;
-}
-
 #if defined(CONFIG_OF)
 static const struct of_device_id l3_noc_match[] = {
        {.compatible = "ti,omap4-l3-noc", },
@@ -190,7 +185,6 @@ MODULE_DEVICE_TABLE(of, l3_noc_match);
 
 static struct platform_driver omap4_l3_driver = {
        .probe          = omap4_l3_probe,
-       .remove         = omap4_l3_remove,
        .driver         = {
                .name           = "omap_l3_noc",
                .owner          = THIS_MODULE,