]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh-pfc: Remove unneeded const keywords
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 14 Jul 2013 18:04:53 +0000 (20:04 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 29 Jul 2013 13:17:39 +0000 (15:17 +0200)
Two integer field structures are needlesly defined as const. Remove the
const keyword.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
drivers/pinctrl/sh-pfc/sh_pfc.h

index d0a8ff8d12013c9a0643c324e2867e157a5392c4..2105487dd1b6b937543a6ce683a65f2e0cebc566 100644 (file)
@@ -30,7 +30,7 @@ enum {
 #define SH_PFC_PIN_CFG_PULL_DOWN       (1 << 3)
 
 struct sh_pfc_pin {
-       const pinmux_enum_t enum_id;
+       pinmux_enum_t enum_id;
        const char *name;
        unsigned int configs;
 };
@@ -64,7 +64,7 @@ struct sh_pfc_function {
 };
 
 struct pinmux_func {
-       const pinmux_enum_t enum_id;
+       pinmux_enum_t enum_id;
        const char *name;
 };