ARM: Tegra: Roth: Disable Gyro and Charger Init
Graziano Misuraca [Tue, 30 Oct 2012 18:24:43 +0000 (11:24 -0700)]
Reviewed-on: http://git-master/r/164507
(cherry picked from commit ec32e46390b936ca08e5e76b496465dab35d446c)
Change-Id: I57e5c90611668c3de3ac33fdf6411933bf95f9c8
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164932
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

arch/arm/mach-tegra/board-roth-sensors.c

index 629cdcf..7790f84 100644 (file)
@@ -296,10 +296,12 @@ int __init roth_sensors_init(void)
        if (err)
                return err;
 
-       mpuirq_init();
+       if (0)
+               mpuirq_init();
 
-       i2c_register_board_info(0, bq20z45_pdata,
-               ARRAY_SIZE(bq20z45_pdata));
+       if (0)
+               i2c_register_board_info(0, bq20z45_pdata,
+                       ARRAY_SIZE(bq20z45_pdata));
 
        return 0;
 }