diff options
author | Joshua Primero <jprimero@nvidia.com> | 2012-10-23 14:27:18 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:40:50 -0700 |
commit | 25a06bdfbd59f86e0273c99347137e05bbdfa540 (patch) | |
tree | d7709e79d62331f413ce4dba12c44e94a47a398f | |
parent | 876fb0fbb33c6cefd9f9bc6d11fa28558cac30e0 (diff) |
drivers: nct: tsensor: Update thermal register
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
-rw-r--r-- | drivers/hwmon/tegra-tsensor.c | 2 | ||||
-rw-r--r-- | drivers/misc/nct1008.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/hwmon/tegra-tsensor.c b/drivers/hwmon/tegra-tsensor.c index 336976944590..4f41363d7873 100644 --- a/drivers/hwmon/tegra-tsensor.c +++ b/drivers/hwmon/tegra-tsensor.c @@ -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)) diff --git a/drivers/misc/nct1008.c b/drivers/misc/nct1008.c index 2e7a7464d5a6..076c8c190c99 100644 --- a/drivers/misc/nct1008.c +++ b/drivers/misc/nct1008.c @@ -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)) { |