drivers: misc: nct: Added low temp nct interface
Joshua Primero [Sun, 18 Dec 2011 23:35:49 +0000 (15:35 -0800)]
Added function to retrieve lowest supported
temperature for nct1008 driver.

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

Rebase-Id: Rc08112a23883e342569bb0ea6d0c41f37ba995f9

drivers/misc/nct1008.c

index 9a4015e..fab2df0 100644 (file)
@@ -775,6 +775,12 @@ int nct1008_thermal_get_temp(struct nct1008_data *data, long *temp)
        return nct1008_get_temp(&data->client->dev, temp);
 }
 
+int nct1008_thermal_get_temp_low(struct nct1008_data *data, long *temp)
+{
+       *temp = 0;
+       return 0;
+}
+
 int nct1008_thermal_set_limits(struct nct1008_data *data,
                                long lo_limit_milli,
                                long hi_limit_milli)