Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1324576 > unrolled thread

[PATCH 0/2] GPIO: Clean up asm/gpio.h

Started byBjorn Helgaas <bhelgaas@google.com>
First post2016-02-02 21:00 +0100
Last post2016-02-05 14:50 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] GPIO: Clean up asm/gpio.h Bjorn Helgaas <bhelgaas@google.com> - 2016-02-02 21:00 +0100
    Re: [PATCH 0/2] GPIO: Clean up asm/gpio.h Thomas Gleixner <tglx@linutronix.de> - 2016-02-03 09:30 +0100
    Re: [PATCH 0/2] GPIO: Clean up asm/gpio.h Linus Walleij <linus.walleij@linaro.org> - 2016-02-05 14:50 +0100

#1324576 — [PATCH 0/2] GPIO: Clean up asm/gpio.h

FromBjorn Helgaas <bhelgaas@google.com>
Date2016-02-02 21:00 +0100
Subject[PATCH 0/2] GPIO: Clean up asm/gpio.h
Message-ID<qXPhg-7Yl-5@gated-at.bofh.it>
Many arches supply an asm/gpio.h that contains only this:

  #warning Include linux/gpio.h instead of asm/gpio.h
  #include <linux/gpio.h>

These two patches change all the places that include asm/gpio.h
so they include linux/gpio.h instead, and then remove the asm/gpio.h
files.

There are several arches that supply asm/gpio.h with useful
arch-specific content; I didn't touch those.

I assume Mark was heading this direction with 7563bbf89d06
("gpiolib/arches: Centralise bolierplate asm/gpio.h").

---

Bjorn Helgaas (2):
      gpio: Include linux/gpio.h instead of asm/gpio.h
      gpio: Remove unused asm/gpio.h files


 arch/alpha/include/asm/gpio.h                   |    4 ----
 arch/avr32/boards/merisc/setup.c                |    1 -
 arch/avr32/mach-at32ap/pio.c                    |    2 +-
 arch/blackfin/kernel/debug-mmrs.c               |    2 +-
 arch/blackfin/mach-bf538/boards/ezkit.c         |    2 +-
 arch/blackfin/mach-bf538/ext-gpio.c             |    2 +-
 arch/blackfin/mach-bf548/boards/cm_bf548.c      |    2 +-
 arch/blackfin/mach-bf548/boards/ezkit.c         |    2 +-
 arch/blackfin/mach-bf609/boards/ezkit.c         |    2 +-
 arch/blackfin/mach-common/ints-priority.c       |    2 +-
 arch/blackfin/mach-common/pm.c                  |    2 +-
 arch/ia64/include/asm/gpio.h                    |    4 ----
 arch/metag/include/asm/gpio.h                   |    4 ----
 arch/microblaze/include/asm/gpio.h              |    4 ----
 arch/openrisc/include/asm/gpio.h                |    4 ----
 arch/powerpc/include/asm/gpio.h                 |    4 ----
 arch/sh/include/mach-common/mach/magicpanelr2.h |    2 +-
 arch/sparc/include/asm/gpio.h                   |    4 ----
 arch/x86/include/asm/gpio.h                     |    4 ----
 arch/xtensa/include/asm/gpio.h                  |    4 ----
 drivers/ata/pata_at91.c                         |    3 +--
 drivers/ata/pata_bf54x.c                        |    2 +-
 drivers/gpio/gpio-mpc5200.c                     |    1 -
 drivers/mfd/menelaus.c                          |    2 +-
 drivers/mtd/onenand/omap2.c                     |    2 +-
 drivers/pcmcia/bfin_cf_pcmcia.c                 |    2 +-
 drivers/pcmcia/pxa2xx_vpac270.c                 |    1 -
 drivers/usb/gadget/udc/atmel_usba_udc.c         |    2 --
 drivers/usb/host/ohci-at91.c                    |    2 --
 drivers/video/fbdev/atmel_lcdfb.c               |    2 --
 drivers/video/fbdev/omap/lcd_h3.c               |    2 +-
 drivers/video/fbdev/omap/lcd_osk.c              |    3 +--
 drivers/video/fbdev/omap/lcd_palmtt.c           |    2 +-
 33 files changed, 18 insertions(+), 65 deletions(-)
 delete mode 100644 arch/alpha/include/asm/gpio.h
 delete mode 100644 arch/ia64/include/asm/gpio.h
 delete mode 100644 arch/metag/include/asm/gpio.h
 delete mode 100644 arch/microblaze/include/asm/gpio.h
 delete mode 100644 arch/openrisc/include/asm/gpio.h
 delete mode 100644 arch/powerpc/include/asm/gpio.h
 delete mode 100644 arch/sparc/include/asm/gpio.h
 delete mode 100644 arch/x86/include/asm/gpio.h
 delete mode 100644 arch/xtensa/include/asm/gpio.h

[toc] | [next] | [standalone]


#1325035

FromThomas Gleixner <tglx@linutronix.de>
Date2016-02-03 09:30 +0100
Message-ID<qY0Z4-7Sl-15@gated-at.bofh.it>
In reply to#1324576
On Tue, 2 Feb 2016, Bjorn Helgaas wrote:

> Many arches supply an asm/gpio.h that contains only this:
> 
>   #warning Include linux/gpio.h instead of asm/gpio.h
>   #include <linux/gpio.h>
> 
> These two patches change all the places that include asm/gpio.h
> so they include linux/gpio.h instead, and then remove the asm/gpio.h
> files.
> 
> There are several arches that supply asm/gpio.h with useful
> arch-specific content; I didn't touch those.

Acked-by: Thomas Gleixner <tglx@linutronix.de>

[toc] | [prev] | [next] | [standalone]


#1327703

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-02-05 14:50 +0100
Message-ID<qYOVQ-SY-13@gated-at.bofh.it>
In reply to#1324576
On Tue, Feb 2, 2016 at 8:53 PM, Bjorn Helgaas <bhelgaas@google.com> wrote:

> Many arches supply an asm/gpio.h that contains only this:
>
>   #warning Include linux/gpio.h instead of asm/gpio.h
>   #include <linux/gpio.h>
>
> These two patches change all the places that include asm/gpio.h
> so they include linux/gpio.h instead, and then remove the asm/gpio.h
> files.
>
> There are several arches that supply asm/gpio.h with useful
> arch-specific content; I didn't touch those.
>
> I assume Mark was heading this direction with 7563bbf89d06
> ("gpiolib/arches: Centralise bolierplate asm/gpio.h").

Sweet, if I can get the arch maintainers ACK on this I can
merge it into the GPIO tree, Arnd?

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web