arm: tegra: laguna: fix ina230 i2c error
Shreshtha Sahu [Mon, 3 Feb 2014 12:17:51 +0000 (17:17 +0530)]
This patch fixes ina230 i2c error. Removed registration
of ina230 power monitor device for Laguna ERS-S boards
as it is not present in it.

Bug: 1377308

Change-Id: I2159e75417982b3d5b4731792896c0eb2b4fa85b
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/362911
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vikram Fugro <vfugro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

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

index b53ba61..ecd7f18 100644 (file)
@@ -1219,6 +1219,9 @@ static void __init tegra_ardbeg_late_init(void)
        case BOARD_PM358:
                laguna_pm358_pmon_init();
                break;
+       case BOARD_PM359:
+               ; /* powermon not present in Laguna ERS-S */
+               break;
        case BOARD_P1761:
                tn8_p1761_pmon_init();
                break;