Skip to content

Commit 9888bc8

Browse files
committed
drivers: i2c: remove an unnecessary condition check
Remove an unnecessary condition check in Kconfig. All the config options already depend on I2C. Change-Id: Ia8876442652df9f105e862d8c2db394699c81f63 Signed-off-by: Baohong Liu <[email protected]>
1 parent 7a992ae commit 9888bc8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/i2c/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ menuconfig I2C
2626
help
2727
Enable I2C Driver Configuration
2828

29-
if I2C
30-
3129
config I2C_DW
3230
bool "Design Ware I2C support"
3331
depends on I2C
@@ -285,5 +283,3 @@ config I2C_SDA_RX_HOLD
285283
The hold time on the data signal after a negative edge of i2c clock
286284
while i2c acts as receiver.
287285
The unit is i2c module base clock.
288-
289-
endif

0 commit comments

Comments
 (0)