pinctrl: berlin: Drop superfluous ampersands
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 24 Aug 2023 10:05:50 +0000 (12:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 11 Sep 2023 13:45:09 +0000 (15:45 +0200)
There is no need to use an ampersand to take the address of a function.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/0ff17be9b31c9fcf03481c0665293b98ced741f7.1692871243.git.geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/berlin/berlin.c

index 1e427ea4d31bcbfce660cd168e9aee6556607b5f..9550cc8095c28720defe729acdf3a0fe29b6d848 100644 (file)
@@ -96,10 +96,10 @@ static int berlin_pinctrl_dt_node_to_map(struct pinctrl_dev *pctrl_dev,
 }
 
 static const struct pinctrl_ops berlin_pinctrl_ops = {
-       .get_groups_count       = &berlin_pinctrl_get_group_count,
-       .get_group_name         = &berlin_pinctrl_get_group_name,
-       .dt_node_to_map         = &berlin_pinctrl_dt_node_to_map,
-       .dt_free_map            = &pinctrl_utils_free_map,
+       .get_groups_count       = berlin_pinctrl_get_group_count,
+       .get_group_name         = berlin_pinctrl_get_group_name,
+       .dt_node_to_map         = berlin_pinctrl_dt_node_to_map,
+       .dt_free_map            = pinctrl_utils_free_map,
 };
 
 static int berlin_pinmux_get_functions_count(struct pinctrl_dev *pctrl_dev)