arm: bonaire: minor updates tracking earlier platforms
Mark Stadler [Thu, 30 Aug 2012 21:40:16 +0000 (14:40 -0700)]
remove last usages of tegra_gpio_[enable|disable]
remove reference to (removed) tegra_wdt_device

Change-Id: I0e0fba7e946f1c30cf08eeb81c4211693c3e3331
Signed-off-by: Mark Stadler <mastadler@nvidia.com>
Reviewed-on: http://git-master/r/128665
Reviewed-by: Automatic_Commit_Validation_User

arch/arm/mach-tegra/board-bonaire.c

index 713ec30..eb8dc51 100644 (file)
@@ -375,7 +375,6 @@ static struct platform_device *bonaire_devices[] __initdata = {
        &tegra_smmu_device,
 #endif
        &bonaire_keys_device,
-       &tegra_wdt_device,
 #if defined(CONFIG_SND_HDA_TEGRA)
        &tegra_hda_device,
 #endif
@@ -388,14 +387,6 @@ static struct platform_device *bonaire_devices[] __initdata = {
 #endif
 };
 
-static void bonaire_keys_init(void)
-{
-       int i;
-
-       for (i = 0; i < ARRAY_SIZE(bonaire_keys); i++)
-               tegra_gpio_enable(bonaire_keys[i].gpio);
-}
-
 static int __init bonaire_touch_init(void)
 {
        return 0;
@@ -548,7 +539,6 @@ static void __init tegra_bonaire_init(void)
        bonaire_regulator_init();
        bonaire_suspend_init();
        bonaire_touch_init();
-       bonaire_keys_init();
        bonaire_usb_init();
        bonaire_panel_init();
        bonaire_bt_rfkill();