aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2013-04-04 06:31:06 -0400
committerSteven Miao <realmz6@gmail.com>2014-04-11 20:47:59 -0400
commitf57ac8a744db2fcda47d13e6b54d2d2ed2624d6a (patch)
tree10567b307ff484799378e360ede87b03faf0e788
parente3dd192956b17aed83f19487aa4caa009ad15006 (diff)
Blackfin: bf537: rename "CONFIG_ADT75"
In v3.2 the Analog Devices ADT75 temperature sensor driver was removed as an IIO driver and support for it was added to the LM75 HWMON driver. But it was apparently overlooked to rename one reference to CONFIG_ADT75 to CONFIG_SENSORS_LM75. Do so now. Use the IS_ENABLED() macro, while we're at it. Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index de2187f40f02..c403369e8945 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -2222,7 +2222,7 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
2222 }, 2222 },
2223#endif 2223#endif
2224 2224
2225#if defined(CONFIG_ADT75) || defined(CONFIG_ADT75_MODULE) 2225#if IS_ENABLED(CONFIG_SENSORS_LM75)
2226 { 2226 {
2227 I2C_BOARD_INFO("adt75", 0x9), 2227 I2C_BOARD_INFO("adt75", 0x9),
2228 .irq = IRQ_PG5, 2228 .irq = IRQ_PG5,