linux-pm.vger.kernel.org archive mirror
 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

* Re: [PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Pali Rohár @ 2015-10-16 15:15 UTC (permalink / raw)
  To: Andrew F. Davis; +Cc: Sebastian Reichel, linux-pm, linux-kernel

On Friday 16 October 2015 09:49:20 Andrew F. Davis wrote:
> 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.
>  

Sounds good, so Acked-by: Pali Rohár <pali.rohar@gmail.com>

-- 
Pali Rohár
pali.rohar@gmail.com

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

* Re: [PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Reichel @ 2015-10-19  9:39 UTC (permalink / raw)
  To: Andrew F. Davis; +Cc: Pali Rohár, linux-pm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

Hi,

On Fri, Oct 16, 2015 at 09:49:20AM -0500, Andrew F. Davis wrote:
> 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.

Thanks, queued.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[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;
as well as URLs for NNTP newsgroup(s).