Re: [PATCH] MIPS: Remove most of the custom gpio.h

2015-07-27 Thread Linus Walleij
On Thu, Jul 23, 2015 at 8:25 PM, Lars-Peter Clausen wrote: > On 07/22/2015 07:33 PM, Alban Bedel wrote: >> >> diff --git a/arch/mips/jz4740/gpio.c b/arch/mips/jz4740/gpio.c >> index 54c80d4..3dc500c 100644 >> --- a/arch/mips/jz4740/gpio.c >> +++ b/arch/mips/jz4740/gpio.c >> @@ -262,18 +262,6 @@ ui

Re: [PATCH] MIPS: Remove most of the custom gpio.h

2015-07-23 Thread Lars-Peter Clausen
On 07/22/2015 07:33 PM, Alban Bedel wrote: diff --git a/arch/mips/jz4740/gpio.c b/arch/mips/jz4740/gpio.c index 54c80d4..3dc500c 100644 --- a/arch/mips/jz4740/gpio.c +++ b/arch/mips/jz4740/gpio.c @@ -262,18 +262,6 @@ uint32_t jz_gpio_port_get_value(int port, uint32_t mask) } EXPORT_SYMBOL(jz_

Re: [PATCH] MIPS: Remove most of the custom gpio.h

2015-07-23 Thread Linus Walleij
On Wed, Jul 22, 2015 at 7:33 PM, Alban Bedel wrote: > Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS > machines, and each machine type provides its own gpio.h. However only > the Alchemy machine really use the feature, all other machines only > use the default wrappers. > > For

Re: [PATCH] MIPS: Remove most of the custom gpio.h

2015-07-23 Thread Alban
On Wed, 22 Jul 2015 19:47:18 +0200 Manuel Lauss wrote: > On Wed, Jul 22, 2015 at 7:33 PM, Alban Bedel wrote: > > Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS > > machines, and each machine type provides its own gpio.h. However > > only the Alchemy machine really use the featu

Re: [PATCH] MIPS: Remove most of the custom gpio.h

2015-07-22 Thread Manuel Lauss
On Wed, Jul 22, 2015 at 7:33 PM, Alban Bedel wrote: > Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS > machines, and each machine type provides its own gpio.h. However only > the Alchemy machine really use the feature, all other machines only > use the default wrappers. > > For m

[PATCH] MIPS: Remove most of the custom gpio.h

2015-07-22 Thread Alban Bedel
Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS machines, and each machine type provides its own gpio.h. However only the Alchemy machine really use the feature, all other machines only use the default wrappers. For most machine types we can just remove the custom gpio.h, as well