Skip to content

Commit

Permalink
Blackfin: bf537: rename "CONFIG_ADT75"
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pebolle authored and realmz committed Apr 12, 2014
1 parent e3dd192 commit f57ac8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf537/boards/stamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2222,7 +2222,7 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
},
#endif

#if defined(CONFIG_ADT75) || defined(CONFIG_ADT75_MODULE)
#if IS_ENABLED(CONFIG_SENSORS_LM75)
{
I2C_BOARD_INFO("adt75", 0x9),
.irq = IRQ_PG5,
Expand Down

0 comments on commit f57ac8a

Please sign in to comment.