summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ds1722.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2008-07-11 11:50:53 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 15:26:18 +0200
commit6ecbb45bb027e90c19d63b48e7b0c05acc1a87c0 (patch)
treedb647af285d1d0fedc4dd29d88a8a9cf9fa97156 /drivers/hwmon/ds1722.c
parentc78fce699c7ff467ecd841da6a79f065180bf578 (diff)
downloadu-boot-imx-6ecbb45bb027e90c19d63b48e7b0c05acc1a87c0.zip
u-boot-imx-6ecbb45bb027e90c19d63b48e7b0c05acc1a87c0.tar.gz
u-boot-imx-6ecbb45bb027e90c19d63b48e7b0c05acc1a87c0.tar.bz2
hwmon: Cleaning hwmon devices
Clean Makefile Move device specific values to driver for better reading Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/hwmon/ds1722.c')
-rw-r--r--drivers/hwmon/ds1722.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/hwmon/ds1722.c b/drivers/hwmon/ds1722.c
index c19ee01..7e2f1ed 100644
--- a/drivers/hwmon/ds1722.c
+++ b/drivers/hwmon/ds1722.c
@@ -1,8 +1,5 @@
#include <common.h>
-
-#ifdef CONFIG_DS1722
-
#include <ssi.h>
static void ds1722_select(int dev)
@@ -138,5 +135,3 @@ int ds1722_probe(int dev)
printf("%d.%d deg C\n\n", (char)(temp >> 8), temp & 0xff);
return 0;
}
-
-#endif