summaryrefslogtreecommitdiff
path: root/include/linux/nct1008.h
diff options
context:
space:
mode:
authorJoshua Primero <jprimero@nvidia.com>2011-10-14 00:21:06 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2011-12-08 17:03:45 +0530
commitdd3e4962a22fbfa1e0b8c8d50772f0d613ad29b3 (patch)
tree9dfe15d1c7e6508fde115c82052ce11ac19c4b7a /include/linux/nct1008.h
parent0a892e234ce77f94973afbf2d00ea4239ee6b677 (diff)
misc: nct1008: Refactored nct1008 driver
Refactored nct1008 driver so that it can be controlled by the Tegra Thermal framework. Reviewed-on: http://git-master/r/58044 Reviewed-on: http://git-master/r/63339 Cherry-picked as e420f67c427173403a9669a67cfe98ad3c8482e1. Change-Id: Id47205bb2d8f148dc919de7f1a53f1c562899d5e Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/66552 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'include/linux/nct1008.h')
-rw-r--r--include/linux/nct1008.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h
index 328dd7863053..202eeaa5ed6d 100644
--- a/include/linux/nct1008.h
+++ b/include/linux/nct1008.h
@@ -57,13 +57,9 @@ struct nct1008_data {
u8 limits_sz;
void (*alarm_fn)(bool raised);
struct regulator *nct_reg;
-#ifdef CONFIG_TEGRA_THERMAL_SYSFS
- struct thermal_zone_device *thz;
-#endif
long current_lo_limit;
long current_hi_limit;
- long shutdown_temp;
void (*alert_func)(void *);
void *alert_data;
};