aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/memory
diff options
context:
space:
mode:
authorHiroshi DOYU <hdoyu@nvidia.com>2012-05-14 12:20:03 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-14 15:52:52 -0400
commit7458eab6f4527bce719703eb15fef1cff9e8d9e0 (patch)
treef8af6ac57e55926e1b00703b84cfad1bd24842ff /drivers/memory
parentc313af145b9bc4fb8e8e0c83b8cfc10e1b894a50 (diff)
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 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)
241 return 0; 241 return 0;
242} 242}
243 243
244static int __devexit tegra20_mc_remove(struct platform_device *pdev)
245{
246 return 0;
247}
248
249static struct platform_driver tegra20_mc_driver = { 244static struct platform_driver tegra20_mc_driver = {
250 .probe = tegra20_mc_probe, 245 .probe = tegra20_mc_probe,
251 .remove = __devexit_p(tegra20_mc_remove),
252 .driver = { 246 .driver = {
253 .name = DRV_NAME, 247 .name = DRV_NAME,
254 .owner = THIS_MODULE, 248 .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)
365 return 0; 365 return 0;
366} 366}
367 367
368static int __devexit tegra30_mc_remove(struct platform_device *pdev)
369{
370 return 0;
371}
372
373static struct platform_driver tegra30_mc_driver = { 368static struct platform_driver tegra30_mc_driver = {
374 .probe = tegra30_mc_probe, 369 .probe = tegra30_mc_probe,
375 .remove = __devexit_p(tegra30_mc_remove),
376 .driver = { 370 .driver = {
377 .name = DRV_NAME, 371 .name = DRV_NAME,
378 .owner = THIS_MODULE, 372 .owner = THIS_MODULE,