drivers: boards: Merge HAS_DTS_I2C_DEVICE with HAS_DTS_I2C
Every board that uses dts-enabled i2c drivers has a board-level dts, so there is no need to have separate configs HAS_DTS_I2C_DEVICE and HAS_DTS_I2C. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
9dea0315f7
commit
75bc6ba454
38 changed files with 42 additions and 59 deletions
|
@ -14,7 +14,7 @@ menuconfig ADT7420
|
|||
|
||||
if ADT7420
|
||||
|
||||
if !HAS_DTS_I2C_DEVICE
|
||||
if !HAS_DTS_I2C
|
||||
|
||||
config ADT7420_NAME
|
||||
string "Driver name"
|
||||
|
@ -40,7 +40,7 @@ config ADT7420_I2C_MASTER_DEV_NAME
|
|||
Specify the device name of the I2C master device to which the
|
||||
ADT7420 chip is connected.
|
||||
|
||||
endif # !HAS_DTS_I2C_DEVICE
|
||||
endif # !HAS_DTS_I2C
|
||||
|
||||
config ADT7420_TEMP_HYST
|
||||
int "Temperature hysteresis in °C"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue