public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig
@ 2015-10-16 14:49 Andrew F. Davis
  2015-10-16 15:15 ` Pali Rohár
  2015-10-19  9:39 ` Sebastian Reichel
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew F. Davis @ 2015-10-16 14:49 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Pali Rohár, linux-pm, linux-kernel, Andrew F. Davis

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>
---
 drivers/power/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index eeb5776..34aa017 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -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.
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-19  9:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-16 14:49 [PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig Andrew F. Davis
2015-10-16 15:15 ` Pali Rohár
2015-10-19  9:39 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox