Re: [PATCH] mfd: rdc321x: Fix off-by-one for ngpio setting

From: Lee Jones
Date: Mon Apr 28 2014 - 06:30:36 EST


> The valid gpio is GPIO0 ~ GPIO58, so ngpio should be 59.
> This patch also renames RDC321X_MAX_GPIO to RDC321X_NUM_GPIO because it
> actually means the number of available GPIOs.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> drivers/mfd/rdc321x-southbridge.c | 2 +-
> include/linux/mfd/rdc321x.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/