Skip to content

Commit ee6cac3

Browse files
andy-shevlinusw
authored andcommitted
pinctrl: cy8c95x0: Align function names in cy8c95x0_pmxops
Align the function names in the cy8c95x0_pmxops() to follow the struct pinmux_ops members naming schema. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent d6afdf8 commit ee6cac3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/pinctrl/pinctrl-cy8c95x0.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ static const struct pinctrl_ops cy8c95x0_pinctrl_ops = {
11031103
.pin_dbg_show = cy8c95x0_pin_dbg_show,
11041104
};
11051105

1106-
static const char *cy8c95x0_get_functions_name(struct pinctrl_dev *pctldev, unsigned int selector)
1106+
static const char *cy8c95x0_get_function_name(struct pinctrl_dev *pctldev, unsigned int selector)
11071107
{
11081108
return cy8c95x0_get_fname(selector);
11091109
}
@@ -1113,9 +1113,9 @@ static int cy8c95x0_get_functions_count(struct pinctrl_dev *pctldev)
11131113
return 2;
11141114
}
11151115

1116-
static int cy8c95x0_get_groups(struct pinctrl_dev *pctldev, unsigned int selector,
1117-
const char * const **groups,
1118-
unsigned int * const num_groups)
1116+
static int cy8c95x0_get_function_groups(struct pinctrl_dev *pctldev, unsigned int selector,
1117+
const char * const **groups,
1118+
unsigned int * const num_groups)
11191119
{
11201120
struct cy8c95x0_pinctrl *chip = pinctrl_dev_get_drvdata(pctldev);
11211121

@@ -1164,8 +1164,8 @@ static int cy8c95x0_set_mux(struct pinctrl_dev *pctldev, unsigned int selector,
11641164

11651165
static const struct pinmux_ops cy8c95x0_pmxops = {
11661166
.get_functions_count = cy8c95x0_get_functions_count,
1167-
.get_function_name = cy8c95x0_get_functions_name,
1168-
.get_function_groups = cy8c95x0_get_groups,
1167+
.get_function_name = cy8c95x0_get_function_name,
1168+
.get_function_groups = cy8c95x0_get_function_groups,
11691169
.set_mux = cy8c95x0_set_mux,
11701170
.strict = true,
11711171
};

0 commit comments

Comments
 (0)