power: bq27xxx_battery: Remove unneeded dependency in Kconfig
PATCH 1/1 power: bq27xxx_battery: Remove unneeded dependency in Kconfig
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 <[email protected]>
--- drivers/power/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/power/Kconfig +0 -1
@@ -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.
Signature · 1 line
1.9.1
Quoted 14 lines · On Friday 16 October 2015 09:49:20 Andrew F. Davis wrote:
I2C is only required when using the config item
BATTERY_BQ27XXX_I2Cwhich already depends on the I2C subsystem, remove the unneeded dependency fromBATTERY_BQ27XXX.Signed-off-by Andrew F. Davis <[email protected]>--- drivers/power/Kconfig | 1 - 1 file changed, 1 deletion(-)drivers/power/Kconfig +0
-0
drivers/power/Kconfig config BATTERY_SBS · line 164
Quoted 7 lines
drivers/power/Kconfig +0
-1@@ -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.
Sounds good, so Acked-by: Pali Rohár <[email protected]>
Signature · 2 lines
Pali Rohár [email protected]
Hi,
Quoted 3 lines · Andrew F. Davis
I2C is only required when using the config item
BATTERY_BQ27XXX_I2Cwhich already depends on the I2C subsystem, remove the unneeded dependency fromBATTERY_BQ27XXX.
Thanks, queued.
-- Sebastian