arm: tegra: tegratab: enable nct1008 for P1640
David Yu [Sat, 25 May 2013 05:06:47 +0000 (22:06 -0700)]
Change-Id: I93cce08ebe2d303072d4473e80ecfe81276568c8
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/232788
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

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

index d7ab213..8f99e93 100644 (file)
@@ -677,13 +677,10 @@ int __init tegratab_sensors_init(void)
 
        tegra_get_board_info(&board_info);
 
-       /* E1569 only has temp sensor. */
-       if (board_info.board_id == BOARD_E1569) {
-               err = tegratab_nct1008_init();
-               if (err) {
-                       pr_err("%s: nct1008 register failed.\n", __func__);
-                       return err;
-               }
+       err = tegratab_nct1008_init();
+       if (err) {
+               pr_err("%s: nct1008 register failed.\n", __func__);
+               return err;
        }
 
        tegratab_camera_init();