linux-kernel.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
  2012-08-28 17:21 ` Stephen Warren
  2012-09-04 22:23 ` Stephen Warren
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Warren @ 2012-08-28  6:59 UTC (permalink / raw)
  To: Grant Likely, Linus Walleij; +Cc: linux-kernel, linux-tegra, Stephen Warren

From: Stephen Warren <swarren@nvidia.com>

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@nvidia.com>
---
 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>
  2012-08-28  6:59 [PATCH] gpio: tegra: remove useless includes of <mach/*.h> Stephen Warren
@ 2012-08-28 17:21 ` Stephen Warren
  2012-08-31 22:53   ` Linus Walleij
  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, linux-tegra

On 08/27/2012 11:59 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> 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>
  2012-08-28 17:21 ` Stephen Warren
@ 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, linux-tegra

On Tue, Aug 28, 2012 at 7:21 PM, Stephen Warren <swarren@nvidia.com> wrote:
> On 08/27/2012 11:59 PM, Stephen Warren wrote:
>> From: Stephen Warren <swarren@nvidia.com>
>>
>> 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@linaro.org>

Yours,
Linus Walleij

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

* Re: [PATCH] gpio: tegra: remove useless includes of <mach/*.h>
  2012-08-28  6:59 [PATCH] gpio: tegra: remove useless includes of <mach/*.h> Stephen Warren
  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, linux-tegra, Stephen Warren

On 08/28/2012 12:59 AM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> 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:24 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
2012-08-28 17:21 ` Stephen Warren
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).