OSDN Git Service

power: bq27xxx_battery: Remove unneeded dependency in Kconfig
authorAndrew F. Davis <afd@ti.com>
Fri, 16 Oct 2015 14:49:20 +0000 (09:49 -0500)
committerSebastian Reichel <sre@kernel.org>
Mon, 19 Oct 2015 08:38:50 +0000 (10:38 +0200)
I2C is only required when using the config item BATTERY_BQ27XXX_I2C which
already depends on the I2C subsystem, remove the unneeded dependency from
BATTERY_BQ27XXX.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/Kconfig

index cb0ae66..02b3b31 100644 (file)
@@ -159,7 +159,6 @@ config BATTERY_SBS
 
 config BATTERY_BQ27XXX
        tristate "BQ27xxx battery driver"
-       depends on I2C || I2C=n
        help
          Say Y here to enable support for batteries with BQ27xxx (I2C/HDQ) chips.