Files
android_kernel_xiaomi_sm8450/sound/soc/codecs
Julia Lawall c59b24f87b ASoC: constify gpio_chip structures
These structures are only used to copy into other structures, so declare
them as const.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r disable optional_qualifier@
identifier i;
position p;
@@
static struct gpio_chip i@p = { ... };

@ok@
identifier r.i;
expression e;
position p;
@@
e = i@p;

@bad@
position p != {r.p,ok.p};
identifier r.i;
struct gpio_chip e;
@@
e@i@p

@depends on !bad disable optional_qualifier@
identifier r.i;
@@
static
+const
 struct gpio_chip i = { ... };
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-09-12 20:04:54 +01:00
..
2015-05-12 18:58:17 +01:00
2015-10-05 17:42:49 +01:00
2014-02-19 13:36:15 +09:00
2014-04-07 10:48:50 +01:00
2015-07-07 13:35:13 +01:00
2014-08-16 17:17:13 -05:00
2016-05-10 18:56:01 +01:00
2015-08-28 17:17:29 +01:00
2016-05-30 16:15:55 +01:00
2016-04-28 18:16:04 +01:00
2015-03-11 19:16:07 +00:00
2016-01-27 20:23:20 +00:00
2015-11-16 13:17:01 +00:00
2015-12-19 12:02:18 +00:00
2015-12-23 12:21:14 +00:00
2016-01-13 12:40:56 +00:00
2014-07-02 20:49:25 +01:00
2016-06-21 19:43:45 +01:00
2016-09-12 20:04:54 +01:00
2013-05-25 10:33:30 -04:00
2016-06-26 12:28:13 +01:00
2015-07-13 11:51:35 +01:00
2016-09-12 20:04:54 +01:00
2016-06-17 12:14:32 +01:00
2016-06-26 02:18:02 +01:00
2015-07-29 15:05:08 +01:00
2015-04-08 19:25:40 +01:00
2016-09-12 20:04:54 +01:00
2016-09-12 20:04:54 +01:00
2016-05-30 16:25:36 +01:00
2016-09-12 20:04:54 +01:00
2013-08-13 11:31:56 +01:00
2016-02-24 12:43:06 +09:00