From 2c6ebff1e12a6553719356c879e2b41ee8d36af8 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 May 2017 03:25:03 -0600 Subject: Kconfig: Drop CONFIG_SYS_I2C_DTT_ADDR This option is only defined to a non-default value by canyonlands, which needs conversion to driver model (where the I2C address would be defined by the device tree). Drop this option. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- drivers/hwmon/ds1775.c | 2 +- drivers/hwmon/lm75.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'drivers') diff --git a/drivers/hwmon/ds1775.c b/drivers/hwmon/ds1775.c index b95b130d926..4c0c0b82a07 100644 --- a/drivers/hwmon/ds1775.c +++ b/drivers/hwmon/ds1775.c @@ -11,7 +11,7 @@ #include #include -#define DTT_I2C_DEV_CODE CONFIG_SYS_I2C_DTT_ADDR /* Dallas Semi's DS1775 device code */ +#define DTT_I2C_DEV_CODE 0x48 /* Dallas Semi's DS1775 device code */ #define DTT_READ_TEMP 0x0 #define DTT_CONFIG 0x1 #define DTT_TEMP_HYST 0x2 diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index 462f902dad4..aafa4757b13 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c @@ -16,11 +16,7 @@ /* * Device code */ -#if defined(CONFIG_SYS_I2C_DTT_ADDR) -#define DTT_I2C_DEV_CODE CONFIG_SYS_I2C_DTT_ADDR -#else #define DTT_I2C_DEV_CODE 0x48 /* ON Semi's LM75 device */ -#endif #define DTT_READ_TEMP 0x0 #define DTT_CONFIG 0x1 #define DTT_TEMP_HYST 0x2 -- cgit v1.3.1