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


Groups > linux.kernel > #1463444 > unrolled thread

[PATCH] drivers/iio/light/Kconfig: SENSORS_BH1780 cleanup

Started byValentin Rothberg <valentinrothberg@gmail.com>
First post2016-08-16 08:30 +0200
Last post2016-08-16 10:00 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] drivers/iio/light/Kconfig: SENSORS_BH1780 cleanup Valentin Rothberg <valentinrothberg@gmail.com> - 2016-08-16 08:30 +0200
    Re: [PATCH] drivers/iio/light/Kconfig: SENSORS_BH1780 cleanup Greg KH <gregkh@linuxfoundation.org> - 2016-08-16 09:50 +0200
    Re: [PATCH] drivers/iio/light/Kconfig: SENSORS_BH1780 cleanup Linus Walleij <linus.walleij@linaro.org> - 2016-08-16 10:00 +0200

#1463444 — [PATCH] drivers/iio/light/Kconfig: SENSORS_BH1780 cleanup

FromValentin Rothberg <valentinrothberg@gmail.com>
Date2016-08-16 08:30 +0200
Subject[PATCH] drivers/iio/light/Kconfig: SENSORS_BH1780 cleanup
Message-ID<s6G2R-7Xd-9@gated-at.bofh.it>
Commit 7ef9153d9af5 ("misc: delete bh1780 driver") has removed the
Kconfig option SENSORS_BH1780.  Remove the last reference on this
option.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
I found the issue using scripts/checkkconfigsymbols.py

 drivers/iio/light/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index 7c566f516572..69904d55d76d 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -76,7 +76,6 @@ config BH1750
 config BH1780
 	tristate "ROHM BH1780 ambient light sensor"
 	depends on I2C
-	depends on !SENSORS_BH1780
 	help
 	 Say Y here to build support for the ROHM BH1780GLI ambient
 	 light sensor.
-- 
2.9.2

[toc] | [next] | [standalone]


#1463508

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-08-16 09:50 +0200
Message-ID<s6Hii-c3-27@gated-at.bofh.it>
In reply to#1463444
On Tue, Aug 16, 2016 at 08:27:53AM +0200, Valentin Rothberg wrote:
> Commit 7ef9153d9af5 ("misc: delete bh1780 driver") has removed the
> Kconfig option SENSORS_BH1780.  Remove the last reference on this
> option.
> 
> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
> ---
> I found the issue using scripts/checkkconfigsymbols.py

Ah, good catch, thanks for this, now queued up.

greg k-h

[toc] | [prev] | [next] | [standalone]


#1463514

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-08-16 10:00 +0200
Message-ID<s6HrY-fU-21@gated-at.bofh.it>
In reply to#1463444
On Tue, Aug 16, 2016 at 8:27 AM, Valentin Rothberg
<valentinrothberg@gmail.com> wrote:

> Commit 7ef9153d9af5 ("misc: delete bh1780 driver") has removed the
> Kconfig option SENSORS_BH1780.  Remove the last reference on this
> option.
>
> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
> ---
> I found the issue using scripts/checkkconfigsymbols.py

I didn't even know such a cool script existed, thanks for sweeping
up the floor after me!

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web