| From 676a02cab0e048bd8646917b374e9e424450a57d Mon Sep 17 00:00:00 2001 |
| From: Chris Brandt <chris.brandt@renesas.com> |
| Date: Mon, 30 Sep 2019 09:58:04 -0500 |
| Subject: [PATCH] pinctrl: rza2: Fix gpio name typos |
| |
| commit 930d3a4907ae6cdb476db23fc7caa86e9de1e557 upstream. |
| |
| Fix apparent copy/paste errors that were overlooked in the original driver. |
| "P0_4" -> "PF_4" |
| "P0_3" -> "PG_3" |
| |
| Fixes: b59d0e782706 ("pinctrl: Add RZ/A2 pin and gpio controller") |
| Cc: <stable@vger.kernel.org> |
| Signed-off-by: Chris Brandt <chris.brandt@renesas.com> |
| Link: https://lore.kernel.org/r/20190930145804.30497-1-chris.brandt@renesas.com |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/pinctrl/pinctrl-rza2.c b/drivers/pinctrl/pinctrl-rza2.c |
| index 5b951c7422cc..98e432c5b61b 100644 |
| --- a/drivers/pinctrl/pinctrl-rza2.c |
| +++ b/drivers/pinctrl/pinctrl-rza2.c |
| @@ -212,8 +212,8 @@ static const char * const rza2_gpio_names[] = { |
| "PC_0", "PC_1", "PC_2", "PC_3", "PC_4", "PC_5", "PC_6", "PC_7", |
| "PD_0", "PD_1", "PD_2", "PD_3", "PD_4", "PD_5", "PD_6", "PD_7", |
| "PE_0", "PE_1", "PE_2", "PE_3", "PE_4", "PE_5", "PE_6", "PE_7", |
| - "PF_0", "PF_1", "PF_2", "PF_3", "P0_4", "PF_5", "PF_6", "PF_7", |
| - "PG_0", "PG_1", "PG_2", "P0_3", "PG_4", "PG_5", "PG_6", "PG_7", |
| + "PF_0", "PF_1", "PF_2", "PF_3", "PF_4", "PF_5", "PF_6", "PF_7", |
| + "PG_0", "PG_1", "PG_2", "PG_3", "PG_4", "PG_5", "PG_6", "PG_7", |
| "PH_0", "PH_1", "PH_2", "PH_3", "PH_4", "PH_5", "PH_6", "PH_7", |
| /* port I does not exist */ |
| "PJ_0", "PJ_1", "PJ_2", "PJ_3", "PJ_4", "PJ_5", "PJ_6", "PJ_7", |
| -- |
| 2.7.4 |
| |