Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248830 > unrolled thread

[PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig

Started by"Andrew F. Davis" <afd@ti.com>
First post2015-10-16 16:50 +0200
Last post2015-10-16 17:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig "Andrew F. Davis" <afd@ti.com> - 2015-10-16 16:50 +0200
    Re: [PATCH] power: bq27xxx_battery: Remove unneeded dependency in  Kconfig Pali Rohár <pali.rohar@gmail.com> - 2015-10-16 17:20 +0200

#1248830 — [PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig

From"Andrew F. Davis" <afd@ti.com>
Date2015-10-16 16:50 +0200
Subject[PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig
Message-ID<qkeuu-Sc-25@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1248851 — Re: [PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig

FromPali Rohár <pali.rohar@gmail.com>
Date2015-10-16 17:20 +0200
SubjectRe: [PATCH] power: bq27xxx_battery: Remove unneeded dependency in Kconfig
Message-ID<qkeXw-1Ha-23@gated-at.bofh.it>
In reply to#1248830
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web