Commit 442a4da7 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Nishanth Menon

drivers: bus: omap_l3: Remove the platform driver's remove function

It is NOP after the devm_* conversion.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Tested-by: default avatarSekhar Nori <nsekhar@ti.com>
parent a0ef78f3
...@@ -173,11 +173,6 @@ static int omap4_l3_probe(struct platform_device *pdev) ...@@ -173,11 +173,6 @@ static int omap4_l3_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int omap4_l3_remove(struct platform_device *pdev)
{
return 0;
}
#if defined(CONFIG_OF) #if defined(CONFIG_OF)
static const struct of_device_id l3_noc_match[] = { static const struct of_device_id l3_noc_match[] = {
{.compatible = "ti,omap4-l3-noc", }, {.compatible = "ti,omap4-l3-noc", },
...@@ -190,7 +185,6 @@ MODULE_DEVICE_TABLE(of, l3_noc_match); ...@@ -190,7 +185,6 @@ MODULE_DEVICE_TABLE(of, l3_noc_match);
static struct platform_driver omap4_l3_driver = { static struct platform_driver omap4_l3_driver = {
.probe = omap4_l3_probe, .probe = omap4_l3_probe,
.remove = omap4_l3_remove,
.driver = { .driver = {
.name = "omap_l3_noc", .name = "omap_l3_noc",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment