Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <afd@ti.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

authored by

Andrew F. Davis and committed by
Sebastian Reichel
6bd03ce3 41a90db8

-1
-1
drivers/power/Kconfig
··· 159 159 160 160 config BATTERY_BQ27XXX 161 161 tristate "BQ27xxx battery driver" 162 - depends on I2C || I2C=n 163 162 help 164 163 Say Y here to enable support for batteries with BQ27xxx (I2C/HDQ) chips. 165 164