drivers: nct: tsensor: Update thermal register
Joshua Primero [Tue, 23 Oct 2012 21:27:18 +0000 (14:27 -0700)]
Updated thermal register function for tsensor and nct thermal
drivers due to Linux thermal API change.

bug 1059470

Change-Id: Ic4ca347c6fcc1aad156122147a7c94a5f3880985
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/159967
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R43104f86721859571b84ba556db0c35aaebd6393

drivers/hwmon/tegra-tsensor.c
drivers/misc/nct1008.c

index 3369769..4f41363 100644 (file)
@@ -1978,8 +1978,6 @@ static int tegra_tsensor_probe(struct platform_device *pdev)
                                        0x0,
                                        data,
                                        &tsensor_ops,
-                                       tsensor_data->passive.tc1,
-                                       tsensor_data->passive.tc2,
                                        tsensor_data->passive.passive_delay,
                                        0);
        if (IS_ERR_OR_NULL(data->thz))
index 2e7a746..076c8c1 100644 (file)
@@ -1057,8 +1057,6 @@ static int nct1008_probe(struct i2c_client *client,
                                                0x0,
                                                data,
                                                &nct_int_ops,
-                                               0,
-                                               1,
                                                2000,
                                                0);
        if (IS_ERR_OR_NULL(data->nct_int))
@@ -1069,8 +1067,6 @@ static int nct1008_probe(struct i2c_client *client,
                                        mask,
                                        data,
                                        &nct_ext_ops,
-                                       data->plat_data.passive.tc1,
-                                       data->plat_data.passive.tc2,
                                        data->plat_data.passive.passive_delay,
                                        0);
        if (IS_ERR_OR_NULL(data->nct_int)) {