All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] leds: lp8860: Fix module dependency
@ 2014-11-21 13:48 Axel Lin
  2014-12-01 23:26 ` Bryan Wu
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2014-11-21 13:48 UTC (permalink / raw)
  To: Bryan Wu, Richard Purdie; +Cc: Dan Murphy, linux-leds

The driver should select REGMAP_I2C rather than depend on it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/leds/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index b3c0d8a..59f4228 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -249,7 +249,8 @@ config LEDS_LP8788
 
 config LEDS_LP8860
 	tristate "LED support for the TI LP8860 4 channel LED driver"
-	depends on LEDS_CLASS && REGMAP_I2C
+	depends on LEDS_CLASS && I2C
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for the TI LP8860 4 channel
 	  LED driver.
-- 
1.9.1

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

* Re: [PATCH] leds: lp8860: Fix module dependency
  2014-11-21 13:48 [PATCH] leds: lp8860: Fix module dependency Axel Lin
@ 2014-12-01 23:26 ` Bryan Wu
  0 siblings, 0 replies; 2+ messages in thread
From: Bryan Wu @ 2014-12-01 23:26 UTC (permalink / raw)
  To: Axel Lin; +Cc: Richard Purdie, Dan Murphy, linux-leds

On Fri, Nov 21, 2014 at 5:48 AM, Axel Lin <axel.lin@ingics.com> wrote:
> The driver should select REGMAP_I2C rather than depend on it.
>

Applied. Thanks,
-Bryan

> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  drivers/leds/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
> index b3c0d8a..59f4228 100644
> --- a/drivers/leds/Kconfig
> +++ b/drivers/leds/Kconfig
> @@ -249,7 +249,8 @@ config LEDS_LP8788
>
>  config LEDS_LP8860
>         tristate "LED support for the TI LP8860 4 channel LED driver"
> -       depends on LEDS_CLASS && REGMAP_I2C
> +       depends on LEDS_CLASS && I2C
> +       select REGMAP_I2C
>         help
>           If you say yes here you get support for the TI LP8860 4 channel
>           LED driver.
> --
> 1.9.1
>
>
>

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

end of thread, other threads:[~2014-12-01 23:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21 13:48 [PATCH] leds: lp8860: Fix module dependency Axel Lin
2014-12-01 23:26 ` Bryan Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.