summaryrefslogtreecommitdiff
path: root/drivers/hwmon/lm75.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2008-09-23 12:38:42 -0500
committerWolfgang Denk <wd@denx.de>2008-10-14 14:39:56 +0200
commit81e612014c40c922ec35488d17c504d4e9286f06 (patch)
treeb129218d9a6a0f9ba6a23a516724567a709be321 /drivers/hwmon/lm75.c
parentc46980f6d2135ade345dadc1fb1f1f4c8bbf255a (diff)
downloadu-boot-imx-81e612014c40c922ec35488d17c504d4e9286f06.zip
u-boot-imx-81e612014c40c922ec35488d17c504d4e9286f06.tar.gz
u-boot-imx-81e612014c40c922ec35488d17c504d4e9286f06.tar.bz2
Remove CFG_EEPROM_PAGE* dependencies for temperature sensors
The checks for CFG_EEPROM_PAGE_WRITE_ENABLE and CFG_EEPROM_PAGE_WRITE_BITS in various temperature sensor drivers are not necessary Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'drivers/hwmon/lm75.c')
-rw-r--r--drivers/hwmon/lm75.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c
index 67a18f6..6770cdd 100644
--- a/drivers/hwmon/lm75.c
+++ b/drivers/hwmon/lm75.c
@@ -26,12 +26,6 @@
*/
#include <common.h>
-
-#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
- (CFG_EEPROM_PAGE_WRITE_BITS < 1)
-# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than 1 to use CONFIG_DTT_LM75"
-#endif
-
#include <i2c.h>
#include <dtt.h>