OSDN Git Service

pinctrl: use "const struct ..." rather than "struct ... const"
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 22 May 2015 06:25:50 +0000 (15:25 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 1 Jun 2015 13:48:12 +0000 (15:48 +0200)
commitb3da97ee581387cd42dafd76eb2ac23f2335cd92
tree748d517be49049b8c16c389b914c46c535c17a7f
parent5fbf65d5c9c0fd2e5c6c48d69ce34b1c5415f2fd
pinctrl: use "const struct ..." rather than "struct ... const"

Only this member, pins, is defined as "struct ... const *", but the
others in this struct, pinlops, pmxops, confops, etc. are defined as
"const struct ... *".

Swap the "struct pinctrl_pin_desc" and "const" for consistency.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/pinctrl/pinctrl.h