linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: tegra: remove useless includes of <mach/*.h>
@ 2012-08-28  6:59 Stephen Warren
       [not found] ` <1346137196-7138-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Warren @ 2012-08-28  6:59 UTC (permalink / raw)
  To: Grant Likely, Linus Walleij
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Nothing from these files is needed, so remove the includes. This helps
single zImage work by reducing use of the mach-tegra/include/mach/
directory.

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 drivers/gpio/gpio-tegra.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index dc5184d..d982593 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -30,9 +30,6 @@
 
 #include <asm/mach/irq.h>
 
-#include <mach/iomap.h>
-#include <mach/suspend.h>
-
 #define GPIO_BANK(x)		((x) >> 5)
 #define GPIO_PORT(x)		(((x) >> 3) & 0x3)
 #define GPIO_BIT(x)		((x) & 0x7)
-- 
1.7.9.5

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

* Re: [PATCH] gpio: tegra: remove useless includes of <mach/*.h>
       [not found] ` <1346137196-7138-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
@ 2012-08-28 17:21   ` Stephen Warren
       [not found]     ` <503CFDFC.7060607-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  2012-09-04 22:23   ` Stephen Warren
  1 sibling, 1 reply; 4+ messages in thread
From: Stephen Warren @ 2012-08-28 17:21 UTC (permalink / raw)
  To: Stephen Warren
  Cc: Grant Likely, Linus Walleij, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On 08/27/2012 11:59 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> 
> Nothing from these files is needed, so remove the includes. This helps
> single zImage work by reducing use of the mach-tegra/include/mach/
> directory.

BTW, it'd be easiest for me to take this through the Tegra tree, since I
may be able to delete <mach/suspend.h> after this.

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

* Re: [PATCH] gpio: tegra: remove useless includes of <mach/*.h>
       [not found]     ` <503CFDFC.7060607-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2012-08-31 22:53       ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2012-08-31 22:53 UTC (permalink / raw)
  To: Stephen Warren
  Cc: Stephen Warren, Grant Likely, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On Tue, Aug 28, 2012 at 7:21 PM, Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> wrote:
> On 08/27/2012 11:59 PM, Stephen Warren wrote:
>> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>>
>> Nothing from these files is needed, so remove the includes. This helps
>> single zImage work by reducing use of the mach-tegra/include/mach/
>> directory.
>
> BTW, it'd be easiest for me to take this through the Tegra tree, since I
> may be able to delete <mach/suspend.h> after this.

OK go ahead,
Acked-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

Yours,
Linus Walleij

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

* Re: [PATCH] gpio: tegra: remove useless includes of <mach/*.h>
       [not found] ` <1346137196-7138-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  2012-08-28 17:21   ` Stephen Warren
@ 2012-09-04 22:23   ` Stephen Warren
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-09-04 22:23 UTC (permalink / raw)
  To: Grant Likely, Linus Walleij
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

On 08/28/2012 12:59 AM, Stephen Warren wrote:
> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> 
> Nothing from these files is needed, so remove the includes. This helps
> single zImage work by reducing use of the mach-tegra/include/mach/
> directory.

Applied to Tegra's for-3.7/cleanup branch.

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

end of thread, other threads:[~2012-09-04 22:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-28  6:59 [PATCH] gpio: tegra: remove useless includes of <mach/*.h> Stephen Warren
     [not found] ` <1346137196-7138-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-08-28 17:21   ` Stephen Warren
     [not found]     ` <503CFDFC.7060607-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-08-31 22:53       ` Linus Walleij
2012-09-04 22:23   ` Stephen Warren

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