Julia Lawall
7e94e51525
mfd: sm501: 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: Lee Jones <lee.jones@linaro.org>
2016-10-04 15:48:03 +01:00
..
2016-01-14 08:43:50 +00:00
2016-01-14 08:43:51 +00:00
2016-01-14 08:43:52 +00:00
2016-01-14 08:43:53 +00:00
2016-01-14 08:43:53 +00:00
2016-07-12 11:23:58 +02:00
2016-05-09 16:26:15 +01:00
2016-01-14 08:43:56 +00:00
2016-07-12 11:23:58 +02:00
2016-08-08 12:53:26 +01:00
2016-10-04 15:48:03 +01:00
2016-01-14 08:43:57 +00:00
2016-10-04 15:48:01 +01:00
2016-10-04 15:48:03 +01:00
2016-01-14 08:43:58 +00:00
2016-06-29 10:14:40 +01:00
2016-04-19 07:54:50 +01:00
2016-05-09 08:24:46 +01:00
2016-04-19 07:58:06 +01:00
2016-04-19 07:54:58 +01:00
2016-02-12 08:53:03 +00:00
2016-09-13 14:10:04 +01:00
2016-10-04 15:48:01 +01:00
2016-04-19 07:55:05 +01:00
2016-01-14 08:44:01 +00:00
2016-01-14 08:44:01 +00:00
2016-08-31 10:50:59 +01:00
2016-03-16 08:50:22 +00:00
2016-01-14 08:44:02 +00:00
2016-01-14 08:44:03 +00:00
2016-10-04 15:48:02 +01:00
2016-01-14 08:44:03 +00:00
2016-01-14 08:44:04 +00:00
2016-03-16 08:50:27 +00:00
2016-10-04 15:48:01 +01:00
2016-10-04 15:48:01 +01:00
2016-10-04 15:48:01 +01:00
2016-01-14 08:44:05 +00:00
2016-07-12 11:23:58 +02:00
2016-10-04 15:48:02 +01:00
2016-10-04 15:48:02 +01:00
2016-02-11 15:40:41 +00:00
2016-06-29 10:16:32 +01:00
2016-04-19 07:55:15 +01:00
2016-04-19 07:58:23 +01:00
2016-04-19 07:58:30 +01:00
2016-05-20 11:10:24 -07:00
2016-10-04 15:48:02 +01:00
2016-05-09 13:27:40 +01:00
2016-04-09 03:10:50 +02:00
2016-10-04 15:48:02 +01:00
2016-05-20 11:10:24 -07:00
2016-04-09 03:10:50 +02:00
2016-03-16 08:50:41 +00:00
2016-10-04 15:48:02 +01:00
2016-06-29 10:16:36 +01:00
2016-08-31 13:20:31 +01:00
2016-04-19 07:55:23 +01:00
2016-04-11 13:31:40 +01:00
2016-10-04 15:48:02 +01:00
2016-06-29 10:14:30 +01:00
2016-06-29 10:14:30 +01:00
2016-06-29 10:14:29 +01:00
2016-10-04 15:48:02 +01:00
2016-08-01 07:28:14 -04:00
2016-05-09 13:27:20 +01:00
2016-04-19 07:59:14 +01:00
2016-06-29 10:14:28 +01:00
2016-02-16 00:20:03 +01:00
2016-04-19 07:55:30 +01:00
2016-05-20 11:10:24 -07:00
2016-05-09 08:20:22 +01:00
2016-06-29 10:14:33 +01:00
2016-08-31 09:33:11 +01:00
2016-10-04 15:48:02 +01:00
2016-05-09 13:27:38 +01:00
2016-05-09 13:27:38 +01:00
2016-04-19 07:55:52 +01:00
2016-08-31 13:48:25 +01:00
2016-06-29 10:11:35 +01:00
2016-04-19 07:56:17 +01:00
2016-10-04 15:48:02 +01:00
2016-05-09 13:27:38 +01:00
2016-05-09 13:27:38 +01:00
2016-06-29 10:14:31 +01:00
2016-04-19 07:56:28 +01:00
2016-10-04 15:48:03 +01:00
2016-06-29 10:16:29 +01:00
2016-08-10 09:25:18 +01:00
2016-08-10 09:25:18 +01:00
2016-08-10 09:25:18 +01:00
2016-04-19 07:56:35 +01:00
2016-03-16 08:50:18 +00:00
2016-04-19 07:58:44 +01:00
2016-06-29 10:14:39 +01:00
2016-05-09 08:21:11 +01:00
2016-06-29 10:14:35 +01:00
2016-04-19 07:58:51 +01:00
2016-03-16 08:50:15 +00:00
2016-03-16 08:50:36 +00:00
2016-04-19 07:56:49 +01:00
2016-05-09 13:27:39 +01:00
2016-02-11 16:30:59 +00:00
2016-02-11 16:30:59 +00:00
2016-02-11 16:30:59 +00:00
2016-05-27 15:26:11 -07:00
2016-05-09 08:24:41 +01:00
2016-10-04 15:48:03 +01:00
2016-06-29 10:16:16 +01:00
2016-10-04 15:48:03 +01:00
2016-04-19 07:59:06 +01:00
2016-05-09 13:27:39 +01:00
2016-03-16 08:50:21 +00:00
2016-05-09 15:41:35 +01:00
2016-05-09 08:23:56 +01:00
2016-03-16 08:50:22 +00:00