summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroshi DOYU <hdoyu@nvidia.com>2012-05-14 19:20:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-14 12:52:52 -0700
commit7458eab6f4527bce719703eb15fef1cff9e8d9e0 (patch)
treef8af6ac57e55926e1b00703b84cfad1bd24842ff
parentc313af145b9bc4fb8e8e0c83b8cfc10e1b894a50 (diff)
downloadlinux-7458eab6f4527bce719703eb15fef1cff9e8d9e0.tar.gz
linux-7458eab6f4527bce719703eb15fef1cff9e8d9e0.tar.bz2
linux-7458eab6f4527bce719703eb15fef1cff9e8d9e0.zip
memory: tegra{20,30}-mc: Remove empty *_remove()
Remove unnecessary empty functions. Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/memory/tegra20-mc.c6
-rw-r--r--drivers/memory/tegra30-mc.c6
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/memory/tegra20-mc.c b/drivers/memory/tegra20-mc.c
index a38d9d3de231..3ed49c1c2b91 100644
--- a/drivers/memory/tegra20-mc.c
+++ b/drivers/memory/tegra20-mc.c
@@ -241,14 +241,8 @@ static int __devinit tegra20_mc_probe(struct platform_device *pdev)
return 0;
}
-static int __devexit tegra20_mc_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static struct platform_driver tegra20_mc_driver = {
.probe = tegra20_mc_probe,
- .remove = __devexit_p(tegra20_mc_remove),
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c
index cb639b1cd5e9..e56ff04eb5cc 100644
--- a/drivers/memory/tegra30-mc.c
+++ b/drivers/memory/tegra30-mc.c
@@ -365,14 +365,8 @@ static int __devinit tegra30_mc_probe(struct platform_device *pdev)
return 0;
}
-static int __devexit tegra30_mc_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static struct platform_driver tegra30_mc_driver = {
.probe = tegra30_mc_probe,
- .remove = __devexit_p(tegra30_mc_remove),
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,