All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC/PATCH v2 1/2] gpio-rcar: Make the platform data gpio_base field signed
Date: Tue, 21 May 2013 11:40:05 +0000	[thread overview]
Message-ID: <1369136406-23800-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
In-Reply-To: <1369136406-23800-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

The gpio_base field is used to specify the desired GPIO base for the
GPIO controller. The GPIO core can automatically allocate a GPIO number
range when the base is set to -1. To make this possible, make the field
signed.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 include/linux/platform_data/gpio-rcar.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/platform_data/gpio-rcar.h b/include/linux/platform_data/gpio-rcar.h
index cc472f6..fb2c718 100644
--- a/include/linux/platform_data/gpio-rcar.h
+++ b/include/linux/platform_data/gpio-rcar.h
@@ -17,7 +17,7 @@
 #define __GPIO_RCAR_H__
 
 struct gpio_rcar_config {
-	unsigned int gpio_base;
+	int gpio_base;
 	unsigned int irq_base;
 	unsigned int number_of_pins;
 	const char *pctl_name;
-- 
1.8.1.5


WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: linux-sh@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org,
	linux-arm-kernel@lists.infradead.org,
	Linus Walleij <linus.walleij@linaro.org>,
	Magnus Damm <damm@opensource.se>,
	Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Subject: [RFC/PATCH v2 1/2] gpio-rcar: Make the platform data gpio_base field signed
Date: Tue, 21 May 2013 13:40:05 +0200	[thread overview]
Message-ID: <1369136406-23800-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
In-Reply-To: <1369136406-23800-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

The gpio_base field is used to specify the desired GPIO base for the
GPIO controller. The GPIO core can automatically allocate a GPIO number
range when the base is set to -1. To make this possible, make the field
signed.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 include/linux/platform_data/gpio-rcar.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/platform_data/gpio-rcar.h b/include/linux/platform_data/gpio-rcar.h
index cc472f6..fb2c718 100644
--- a/include/linux/platform_data/gpio-rcar.h
+++ b/include/linux/platform_data/gpio-rcar.h
@@ -17,7 +17,7 @@
 #define __GPIO_RCAR_H__
 
 struct gpio_rcar_config {
-	unsigned int gpio_base;
+	int gpio_base;
 	unsigned int irq_base;
 	unsigned int number_of_pins;
 	const char *pctl_name;
-- 
1.8.1.5


WARNING: multiple messages have this Message-ID (diff)
From: laurent.pinchart+renesas@ideasonboard.com (Laurent Pinchart)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC/PATCH v2 1/2] gpio-rcar: Make the platform data gpio_base field signed
Date: Tue, 21 May 2013 13:40:05 +0200	[thread overview]
Message-ID: <1369136406-23800-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
In-Reply-To: <1369136406-23800-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

The gpio_base field is used to specify the desired GPIO base for the
GPIO controller. The GPIO core can automatically allocate a GPIO number
range when the base is set to -1. To make this possible, make the field
signed.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 include/linux/platform_data/gpio-rcar.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/platform_data/gpio-rcar.h b/include/linux/platform_data/gpio-rcar.h
index cc472f6..fb2c718 100644
--- a/include/linux/platform_data/gpio-rcar.h
+++ b/include/linux/platform_data/gpio-rcar.h
@@ -17,7 +17,7 @@
 #define __GPIO_RCAR_H__
 
 struct gpio_rcar_config {
-	unsigned int gpio_base;
+	int gpio_base;
 	unsigned int irq_base;
 	unsigned int number_of_pins;
 	const char *pctl_name;
-- 
1.8.1.5

  reply	other threads:[~2013-05-21 11:40 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21 11:40 [RFC/PATCH v2 0/2] R-Car GPIO DT bindings Laurent Pinchart
2013-05-21 11:40 ` Laurent Pinchart
2013-05-21 11:40 ` Laurent Pinchart
2013-05-21 11:40 ` Laurent Pinchart [this message]
2013-05-21 11:40   ` [RFC/PATCH v2 1/2] gpio-rcar: Make the platform data gpio_base field signed Laurent Pinchart
2013-05-21 11:40   ` Laurent Pinchart
2013-05-23  1:39   ` Simon Horman
2013-05-23  1:39     ` Simon Horman
2013-05-23  1:39     ` Simon Horman
2013-05-21 11:40 ` [RFC/PATCH v2 2/2] gpio-rcar: Add DT support Laurent Pinchart
2013-05-21 11:40   ` Laurent Pinchart
2013-05-21 11:40   ` Laurent Pinchart
2013-05-30 17:38   ` Linus Walleij
2013-05-30 17:38     ` Linus Walleij
2013-05-30 17:38     ` Linus Walleij
2013-05-31  1:20     ` Laurent Pinchart
2013-05-31  1:20       ` Laurent Pinchart
2013-05-31  1:20       ` Laurent Pinchart
2013-05-31  7:01       ` Linus Walleij
2013-05-31  7:01         ` Linus Walleij
2013-05-31  7:01         ` Linus Walleij
2013-05-31  7:32         ` Laurent Pinchart
2013-05-31  7:32           ` Laurent Pinchart
2013-05-31  7:32           ` Laurent Pinchart
2013-06-12 11:49   ` Grant Likely
2013-06-12 11:49     ` Grant Likely
2013-06-12 11:49     ` Grant Likely
2013-06-13 17:08     ` Laurent Pinchart
2013-06-13 17:08       ` Laurent Pinchart
2013-06-13 17:08       ` Laurent Pinchart
2013-05-25  1:24 ` [RFC/PATCH v2 0/2] R-Car GPIO DT bindings Simon Horman
2013-05-25  1:24   ` Simon Horman
2013-05-25  1:24   ` Simon Horman
2013-06-11 22:14   ` Laurent Pinchart
2013-06-11 22:14     ` Laurent Pinchart
2013-06-11 22:14     ` Laurent Pinchart
2013-06-12  1:51     ` Simon Horman
2013-06-12  1:51       ` Simon Horman
2013-06-12  1:51       ` Simon Horman
2013-06-12 14:09       ` Simon Horman
2013-06-12 14:09         ` Simon Horman
2013-06-12 14:09         ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1369136406-23800-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com \
    --to=laurent.pinchart+renesas@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.