linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] gpio: samsung: Remove hardware.h inclusion
@ 2014-01-03  9:36 Sachin Kamat
  2014-01-03  9:36 ` [PATCH 2/2] gpio: samsung: Update documentation Sachin Kamat
  2014-01-07 18:00 ` [PATCH 1/2] gpio: samsung: Remove hardware.h inclusion Linus Walleij
  0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2014-01-03  9:36 UTC (permalink / raw)
  To: linux-gpio
  Cc: linux-doc, linus.walleij, rob, sachin.kamat, patches,
	Heiko Stuebner

The contents of this header file are not referenced in the driver.
Remove its inclusion.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Heiko Stuebner <heiko@sntech.de>
---
 drivers/gpio/gpio-samsung.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
index be7b0bd4eed4..2376e6278388 100644
--- a/drivers/gpio/gpio-samsung.c
+++ b/drivers/gpio/gpio-samsung.c
@@ -36,7 +36,6 @@
 
 #include <asm/irq.h>
 
-#include <mach/hardware.h>
 #include <mach/map.h>
 #include <mach/regs-gpio.h>
 
-- 
1.7.9.5


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

* [PATCH 2/2] gpio: samsung: Update documentation
  2014-01-03  9:36 [PATCH 1/2] gpio: samsung: Remove hardware.h inclusion Sachin Kamat
@ 2014-01-03  9:36 ` Sachin Kamat
  2014-01-07 18:01   ` Linus Walleij
  2014-01-07 18:00 ` [PATCH 1/2] gpio: samsung: Remove hardware.h inclusion Linus Walleij
  1 sibling, 1 reply; 4+ messages in thread
From: Sachin Kamat @ 2014-01-03  9:36 UTC (permalink / raw)
  To: linux-gpio; +Cc: linux-doc, linus.walleij, rob, sachin.kamat, patches

hardware.h inclusion is no longer needed. Update the documentation section
related to it and fix a file path.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 Documentation/arm/Samsung-S3C24XX/GPIO.txt |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/Documentation/arm/Samsung-S3C24XX/GPIO.txt b/Documentation/arm/Samsung-S3C24XX/GPIO.txt
index 8b46c79679c4..0ebd7e2244d0 100644
--- a/Documentation/arm/Samsung-S3C24XX/GPIO.txt
+++ b/Documentation/arm/Samsung-S3C24XX/GPIO.txt
@@ -85,21 +85,10 @@ between the calls.
 Headers
 -------
 
-  See arch/arm/mach-s3c2410/include/mach/regs-gpio.h for the list
+  See arch/arm/mach-s3c24xx/include/mach/regs-gpio.h for the list
   of GPIO pins, and the configuration values for them. This
   is included by using #include <mach/regs-gpio.h>
 
-  The GPIO management functions are defined in the hardware
-  header arch/arm/mach-s3c2410/include/mach/hardware.h which can be
-  included by #include <mach/hardware.h>
-
-  A useful amount of documentation can be found in the hardware
-  header on how the GPIO functions (and others) work.
-
-  Whilst a number of these functions do make some checks on what
-  is passed to them, for speed of use, they may not always ensure
-  that the user supplied data to them is correct.
-
 
 PIN Numbers
 -----------
-- 
1.7.9.5


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

* Re: [PATCH 1/2] gpio: samsung: Remove hardware.h inclusion
  2014-01-03  9:36 [PATCH 1/2] gpio: samsung: Remove hardware.h inclusion Sachin Kamat
  2014-01-03  9:36 ` [PATCH 2/2] gpio: samsung: Update documentation Sachin Kamat
@ 2014-01-07 18:00 ` Linus Walleij
  1 sibling, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2014-01-07 18:00 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org,
	Rob Landley, Patch Tracking, Heiko Stuebner

On Fri, Jan 3, 2014 at 10:36 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

> The contents of this header file are not referenced in the driver.
> Remove its inclusion.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Heiko Stuebner <heiko@sntech.de>

Patch applied.

Yours,
Linus Walleij

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

* Re: [PATCH 2/2] gpio: samsung: Update documentation
  2014-01-03  9:36 ` [PATCH 2/2] gpio: samsung: Update documentation Sachin Kamat
@ 2014-01-07 18:01   ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2014-01-07 18:01 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org,
	Rob Landley, Patch Tracking

On Fri, Jan 3, 2014 at 10:36 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

> hardware.h inclusion is no longer needed. Update the documentation section
> related to it and fix a file path.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Patch applied.

Yours,
Linus Walleij

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

end of thread, other threads:[~2014-01-07 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-03  9:36 [PATCH 1/2] gpio: samsung: Remove hardware.h inclusion Sachin Kamat
2014-01-03  9:36 ` [PATCH 2/2] gpio: samsung: Update documentation Sachin Kamat
2014-01-07 18:01   ` Linus Walleij
2014-01-07 18:00 ` [PATCH 1/2] gpio: samsung: Remove hardware.h inclusion Linus Walleij

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