Linux-LEDs Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] leds: pca955x: Include the right GPIO header
@ 2020-06-26 22:47 Linus Walleij
  2020-07-12  7:53 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2020-06-26 22:47 UTC (permalink / raw)
  To: Jacek Anaszewski, Pavel Machek, Dan Murphy
  Cc: linux-leds, Linus Walleij, Andrew Jeffery, Joel Stanley,
	Matt Spinler, Cédric Le Goater

This driver provides a GPIO chip, so include <linux/gpio/driver.h>
and not the legacy <linux/gpio.h> header.

Cc: Andrew Jeffery <andrew@aj.id.au>
Cc: Joel Stanley <joel@jms.id.au>
Cc: Matt Spinler <mspinler@linux.vnet.ibm.com>
Cc: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/leds/leds-pca955x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c
index 4037c504589c..131f8e922ade 100644
--- a/drivers/leds/leds-pca955x.c
+++ b/drivers/leds/leds-pca955x.c
@@ -40,7 +40,7 @@
 #include <linux/ctype.h>
 #include <linux/delay.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/i2c.h>
 #include <linux/leds.h>
 #include <linux/module.h>
-- 
2.25.4


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

* Re: [PATCH] leds: pca955x: Include the right GPIO header
  2020-06-26 22:47 [PATCH] leds: pca955x: Include the right GPIO header Linus Walleij
@ 2020-07-12  7:53 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2020-07-12  7:53 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Jacek Anaszewski, Dan Murphy, linux-leds, Andrew Jeffery,
	Joel Stanley, Matt Spinler, Cédric Le Goater


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

On Sat 2020-06-27 00:47:35, Linus Walleij wrote:
> This driver provides a GPIO chip, so include <linux/gpio/driver.h>
> and not the legacy <linux/gpio.h> header.

Thanks, applied to for-next.
							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-26 22:47 [PATCH] leds: pca955x: Include the right GPIO header Linus Walleij
2020-07-12  7:53 ` Pavel Machek

Linux-LEDs Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-leds/0 linux-leds/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-leds linux-leds/ https://lore.kernel.org/linux-leds \
		linux-leds@vger.kernel.org
	public-inbox-index linux-leds

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-leds


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git