Re: [PATCH] pinctrl: qcom: Fix duplication in gpio_groups

From: Bjorn Andersson
Date: Mon May 31 2021 - 13:24:50 EST


On Wed 26 May 03:28 CDT 2021, Manivannan Sadhasivam wrote:

> "gpio52" and "gpio53" are duplicated in gpio_groups, fix them!
>

Reviewed-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

> Fixes: ac43c44a7a37 ("pinctrl: qcom: Add SDX55 pincontrol driver")
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
> ---
> drivers/pinctrl/qcom/pinctrl-sdx55.c | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/drivers/pinctrl/qcom/pinctrl-sdx55.c b/drivers/pinctrl/qcom/pinctrl-sdx55.c
> index 5aaf57b40407..0bb4931cec59 100644
> --- a/drivers/pinctrl/qcom/pinctrl-sdx55.c
> +++ b/drivers/pinctrl/qcom/pinctrl-sdx55.c
> @@ -410,15 +410,15 @@ static const char * const gpio_groups[] = {
> "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
> "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
> "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49",
> - "gpio50", "gpio51", "gpio52", "gpio52", "gpio53", "gpio53", "gpio54",
> - "gpio55", "gpio56", "gpio57", "gpio58", "gpio59", "gpio60", "gpio61",
> - "gpio62", "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68",
> - "gpio69", "gpio70", "gpio71", "gpio72", "gpio73", "gpio74", "gpio75",
> - "gpio76", "gpio77", "gpio78", "gpio79", "gpio80", "gpio81", "gpio82",
> - "gpio83", "gpio84", "gpio85", "gpio86", "gpio87", "gpio88", "gpio89",
> - "gpio90", "gpio91", "gpio92", "gpio93", "gpio94", "gpio95", "gpio96",
> - "gpio97", "gpio98", "gpio99", "gpio100", "gpio101", "gpio102",
> - "gpio103", "gpio104", "gpio105", "gpio106", "gpio107",
> + "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56",
> + "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
> + "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70",
> + "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
> + "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84",
> + "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91",
> + "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98",
> + "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104",
> + "gpio105", "gpio106", "gpio107",
> };
>
> static const char * const qdss_stm_groups[] = {
> --
> 2.25.1
>