Make these const as they are only stored in the const field of a
musb_hdrc_platform_data structure.
Done using Coccinelle.
@match disable optional_qualifier@
identifier s;
@@
static struct musb_hdrc_config s = {...};
@ref@
position p;
identifier match.s;
@@
s@p
@good1@
identifier y;
position
Make these const as they are only stored in the const field of a
musb_hdrc_platform_data structure.
Done using Coccinelle.
@match disable optional_qualifier@
identifier s;
@@
static struct musb_hdrc_config s = {...};
@ref@
position p;
identifier match.s;
@@
s@p
@good1@
identifier y;
position
2 matches
Mail list logo