summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2011-01-11 17:49:00 +0530
committerBharat Nihalani <bnihalani@nvidia.com>2011-01-11 10:07:37 -0800
commit7c672d40b0470c10a80ef99971ccdd19a832c617 (patch)
treea1d6ca3481bd21700aac692a5ee1774584235919 /include
parent91ae5096b60edb280c1081e687dbca5723f2d488 (diff)
hwmon: nct1008: delete driver code
nct1008 driver will now reside in drivers/misc Bug 742230 Change-Id: I774c920cf96ded96ae440a99935f6cb9f1f63323 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/15496 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c/nct1008.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/include/linux/i2c/nct1008.h b/include/linux/i2c/nct1008.h
deleted file mode 100644
index a037f8a9b2ed..000000000000
--- a/include/linux/i2c/nct1008.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * linux/include/i2c/nct1008.h
- *
- * Temperature monitoring device from On Semiconductors
- *
- * Copyright (c) 2010, NVIDIA Corporation.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef _LINUX_NCT1008_H
-#define _LINUX_NCT1008_H
-
-/* config params */
-#define NCT1008_CONFIG_ALERT_DISABLE 0x80
-#define NCT1008_CONFIG_RUN_STANDBY 0x40
-#define NCT1008_CONFIG_ALERT_THERM2 0x20
-#define NCT1008_CONFIG_ENABLE_EXTENDED 0x04
-
-struct nct1008_platform_data {
- /* temperature conversion rate */
- int conv_rate;
-
- /* configuration parameters */
- int config;
-
- /* cpu shut down threshold */
- int thermal_threshold;
-
- /* temperature offset */
- int offset;
-};
-
-#endif /* _LINUX_NCT1008_H */