ARM: tegra: fix invalid return
Colin Patrick McCabe [Wed, 19 Oct 2011 19:06:18 +0000 (12:06 -0700)]
Change-Id: Iaa3debdcbf16ff3243c635d2fd23a3e17bc35103
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59169
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R191e18882409373cf238f6588c91cbfc48daebb5

arch/arm/mach-tegra/baseband-xmm-power2.c

index dd79986..9601ed4 100644 (file)
@@ -347,11 +347,10 @@ static int __init baseband_xmm_power2_init(void)
        return platform_driver_register(&baseband_power2_driver);
 }
 
-static int __exit baseband_xmm_power2_exit(void)
+static void __exit baseband_xmm_power2_exit(void)
 {
        pr_debug("%s\n", __func__);
        platform_driver_unregister(&baseband_power2_driver);
-       return 0;
 }
 
 module_init(baseband_xmm_power2_init)