Skip to content

Commit

Permalink
drivers: i2c: remove an unnecessary condition check
Browse files Browse the repository at this point in the history
Remove an unnecessary condition check in Kconfig.
All the config options already depend on I2C.

Change-Id: Ia8876442652df9f105e862d8c2db394699c81f63
Signed-off-by: Baohong Liu <baohong.liu@intel.com>
  • Loading branch information
bliu11-intel committed Jan 19, 2017
1 parent 7a992ae commit 9888bc8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ menuconfig I2C
help
Enable I2C Driver Configuration

if I2C

config I2C_DW
bool "Design Ware I2C support"
depends on I2C
Expand Down Expand Up @@ -285,5 +283,3 @@ config I2C_SDA_RX_HOLD
The hold time on the data signal after a negative edge of i2c clock
while i2c acts as receiver.
The unit is i2c module base clock.

endif

0 comments on commit 9888bc8

Please sign in to comment.