[PATCH 0/4] <mach/gpio.h> purge

Rob Herring robherring2 at gmail.com
Wed Jun 4 10:23:33 PDT 2014


On Wed, Jun 4, 2014 at 8:33 AM, Linus Walleij <linus.walleij at linaro.org> wrote:
> After deleting <mach/gpio.h> from the AT91 only S5P remains.
> This patch set fixes up S5P and then removes NEED_MACH_GPIO_H
> permanently removing any references to <mach/gpio.h> from the
> ARM kernel. Do a small cleanout of a dangling reference to
> ARM_GPIOLIB_COMPLEX at the same time.

Awesome.

>
> Linus Walleij (4):
>   ARM: s5p: cut the custom ARCH_NR_GPIOS definition
>   ARM: mach-s5p: get rid of all <mach/gpio.h> headers
>   ARM: kill CONFIG_NEED_MACH_GPIO_H
>   ARM: delete old reference to ARM_GPIOLIB_COMPLEX
>
>  arch/arm/Kconfig                                  |  10 --
>  arch/arm/include/asm/gpio.h                       |   7 --
>  arch/arm/mach-s5p64x0/common.c                    |   2 +-
>  arch/arm/mach-s5p64x0/dev-audio.c                 |   3 +-
>  arch/arm/mach-s5p64x0/include/mach/gpio-samsung.h | 127 +++++++++++++++++++
>  arch/arm/mach-s5p64x0/include/mach/gpio.h         | 132 --------------------

Use -M option or set git config diff.renames=true so you don't have to remember.

Rob



More information about the linux-arm-kernel mailing list