linux-leds.vger.kernel.org archive mirror
 help / color / mirror / 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 related	[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, other threads:[~2020-07-12  7:53 UTC | newest]

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

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).