summaryrefslogtreecommitdiff
path: root/include/linux/pinctrl
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-05-22 09:19:37 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-06-01 16:47:20 +0300
commit5fbf65d5c9c0fd2e5c6c48d69ce34b1c5415f2fd (patch)
tree8e81ac9a1fb09515797dee8ac50f333c3a68b1d9 /include/linux/pinctrl
parent5cf021d52026c0e998756a3bdb475aae2e8a68a4 (diff)
downloadlinux-5fbf65d5c9c0fd2e5c6c48d69ce34b1c5415f2fd.tar.xz
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 <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/pinctrl')
-rw-r--r--include/linux/pinctrl/pinmux.h2
1 files changed, 1 insertions, 1 deletions
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,