summaryrefslogtreecommitdiffstats
path: root/drivers/memory
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 /drivers/memory
parentc313af145b9bc4fb8e8e0c83b8cfc10e1b894a50 (diff)
downloadop-kernel-dev-7458eab6f4527bce719703eb15fef1cff9e8d9e0.zip
op-kernel-dev-7458eab6f4527bce719703eb15fef1cff9e8d9e0.tar.gz
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>
Diffstat (limited to 'drivers/memory')
-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 a38d9d3..3ed49c1 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 cb639b1..e56ff04 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,
OpenPOWER on IntegriCloud