Re: [PATCH v3] MIPS: Remove all the uses of custom gpio.h
From: Linus Walleij <hidden>
Date: 2015-08-25 14:32:14
Also in:
linux-gpio, linux-input, linux-mips, lkml, netdev
From: Linus Walleij <hidden>
Date: 2015-08-25 14:32:14
Also in:
linux-gpio, linux-input, linux-mips, lkml, netdev
On Tue, Aug 4, 2015 at 10:50 AM, 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 a handful really implement the GPIO API, most just forward everythings to gpiolib. The Alchemy machine is notable as it provides a system to allow implementing the GPIO API at the board level. But it is not used by any board currently supported, so it can also be removed. For most machine types we can just remove the custom gpio.h, as well as the custom wrappers if some exists. Some of the code found in the wrappers must be moved to the respective GPIO driver. A few more fixes are need in some 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>
I bet I already ACKed this but anyways: Acked-by: Linus Walleij <redacted> Yours, Linus Walleij