From: Masahiro Yamada Date: Fri, 22 May 2015 06:19:37 +0000 (+0900) Subject: pinctrl: remove useless const qualifier X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5fbf65d5c9c0fd2e5c6c48d69ce34b1c5415f2fd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git pinctrl: remove useless const qualifier This "const" claims the get_function_groups callback never changes the given num_groups pointer. It is always true in C language, so not worth mentioning. Signed-off-by: Masahiro Yamada Signed-off-by: Linus Walleij --- diff --git a/include/linux/pinctrl/pinmux.h b/include/linux/pinctrl/pinmux.h index d3740fa7073f..ace60d775b20 100644 --- a/include/linux/pinctrl/pinmux.h +++ b/include/linux/pinctrl/pinmux.h @@ -69,7 +69,7 @@ struct pinmux_ops { int (*get_function_groups) (struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, - unsigned * const num_groups); + unsigned *num_groups); int (*set_mux) (struct pinctrl_dev *pctldev, unsigned func_selector, unsigned group_selector); int (*gpio_request_enable) (struct pinctrl_dev *pctldev,