Thermal: Update thermal zone device register
Jinyoung Park [Mon, 26 Nov 2012 06:47:44 +0000 (22:47 -0800)]
Update thermal zone device register in drivers due to updated thermal API.

Bug 1059470

Change-Id: I02e068c2b6c5756edb1f7928d2a822f3f2536867
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/166119
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

arch/arm/mach-tegra/tegra11_soctherm.c
drivers/hwmon/tegra-tsensor.c
drivers/misc/nct1008.c

index 3dd8993..748deda 100644 (file)
@@ -489,6 +489,7 @@ static int __init soctherm_thermal_init(void)
                                        0,
                                        (void *)i,
                                        &soctherm_ops,
+                                       NULL,
                                        0, 0, 0, 0);
                }
        }
@@ -502,6 +503,7 @@ static int __init soctherm_thermal_init(void)
                                        plat_data.therm[i].cdev ? 0x1 : 0,
                                        (void *)TSENSE_SIZE + i,
                                        &soctherm_ops,
+                                       NULL,
                                        plat_data.therm[i].passive_delay,
                                        0);
        }
index 1c3cbb8..852e0d0 100644 (file)
@@ -1977,6 +1977,7 @@ static int __devinit tegra_tsensor_probe(struct platform_device *pdev)
                                        0x0,
                                        data,
                                        &tsensor_ops,
+                                       NULL,
                                        tsensor_data->passive.passive_delay,
                                        0);
        if (IS_ERR_OR_NULL(data->thz))
index de58ba0..d6e2483 100644 (file)
@@ -1079,6 +1079,7 @@ static int __devinit nct1008_probe(struct i2c_client *client,
                                                0x0,
                                                data,
                                                &nct_int_ops,
+                                               NULL,
                                                2000,
                                                0);
        if (IS_ERR_OR_NULL(data->nct_int))
@@ -1089,6 +1090,7 @@ static int __devinit nct1008_probe(struct i2c_client *client,
                                        mask,
                                        data,
                                        &nct_ext_ops,
+                                       NULL,
                                        data->plat_data.passive.passive_delay,
                                        0);
        if (IS_ERR_OR_NULL(data->nct_ext)) {