Re: [PATCH] MIPS: Remove most of the custom gpio.h
From: Linus Walleij <hidden>
Date: 2015-07-23 13:03:47
Also in:
linux-gpio, linux-ide, linux-input, linux-mips, lkml
From: Linus Walleij <hidden>
Date: 2015-07-23 13:03:47
Also in:
linux-gpio, linux-ide, linux-input, linux-mips, lkml
On Wed, Jul 22, 2015 at 7:33 PM, Alban Bedel [off-list ref] 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 most machine types we can just remove the custom gpio.h, as well as the custom wrappers if some exists. A few more fixes are need in a few drivers as they rely on linux/gpio.h to provides some machine specific definitions, or used asm/gpio.h instead of linux/gpio.h for the gpio API. Signed-off-by: Alban Bedel <albeu@free.fr>
This is exactly what the kernel needs. Enjoy my: Reviewed-by: Linus Walleij <redacted> And feel free to merge this through the MIPS tree. Yours, Linus Walleij