[PATCH RFC 1/6 v3] gpio: Add a block GPIO API to gpiolib

Linus Walleij linus.walleij at linaro.org
Mon Oct 15 15:56:43 EDT 2012


On Fri, Oct 12, 2012 at 9:11 PM, Roland Stigge <stigge at antcom.de> wrote:

> +#define NR_GPIO_BLOCKS 16
> +
> +static struct gpio_block *gpio_block[NR_GPIO_BLOCKS];

16 looks quite arbitrary, as noted elsewhere please use a list.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list