Julia Lawall
e35b5ab0a7
gpio: 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>
Acked-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-09-13 10:35:56 +02:00
..
2016-02-25 10:04:25 +01:00
2016-06-23 11:07:12 +02:00
2016-02-23 20:19:42 +05:30
2016-06-08 10:08:12 +02:00
2016-06-13 14:48:10 +02:00
2016-05-02 09:32:04 -07:00
2016-02-23 20:19:46 +05:30
2016-02-23 20:34:06 +05:30
2016-02-23 20:34:24 +05:30
2016-01-27 10:50:22 +01:00
2016-02-16 00:19:52 +01:00
2016-03-30 10:38:51 +02:00
2016-09-13 10:35:56 +02:00
2016-09-07 16:56:47 +02:00
2016-02-25 15:20:43 +01:00
2016-08-11 10:24:08 +02:00
2016-09-13 10:35:56 +02:00
2016-04-15 10:09:48 +02:00
2016-01-05 11:21:03 +01:00
2016-06-08 10:49:58 +02:00
2016-02-23 20:35:27 +05:30
2016-02-23 20:35:28 +05:30
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2016-02-22 13:47:49 +01:00
2016-02-23 20:35:30 +05:30
2016-07-22 15:30:42 +02:00
2016-01-05 11:21:05 +01:00
2016-02-23 20:35:30 +05:30
2016-01-05 11:21:00 +01:00
2016-06-14 09:10:18 +02:00
2016-02-23 20:35:31 +05:30
2016-08-11 13:37:25 +02:00
2016-01-05 11:21:00 +01:00
2016-02-16 00:19:53 +01:00
2016-07-22 15:30:40 +02:00
2016-09-12 15:28:18 +02:00
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:33 +05:30
2016-02-23 20:35:34 +05:30
2016-02-19 00:20:30 +01:00
2016-04-09 20:14:35 +02:00
2016-01-05 11:21:20 +01:00
2016-09-13 10:35:56 +02:00
2016-03-09 22:00:27 +07:00
2016-09-13 10:35:56 +02:00
2016-09-12 14:23:37 +02:00
2016-06-23 11:07:14 +02:00
2016-01-05 11:21:07 +01:00
2016-01-05 11:21:07 +01:00
2015-11-30 09:31:00 +01:00
2015-10-28 10:30:17 +09:00
2016-07-04 11:39:38 +02:00
2016-03-31 15:00:28 +02:00
2016-03-31 15:02:09 +02:00
2016-01-05 11:21:07 +01:00
2016-03-31 10:41:50 +02:00
2016-06-07 09:35:16 +02:00
2016-07-22 15:30:42 +02:00
2016-01-05 11:21:08 +01:00
2016-01-13 10:21:06 +01:00
2016-08-11 16:17:05 +02:00
2016-03-31 15:03:13 +02:00
2016-03-09 10:44:13 +07:00
2016-02-16 00:20:03 +01:00
2016-08-23 11:22:09 +02:00
2016-03-31 15:05:44 +02:00
2016-08-23 11:22:38 +02:00
2016-01-05 11:21:00 +01:00
2016-03-30 10:38:51 +02:00
2016-04-26 15:56:47 +02:00
2016-06-07 09:35:16 +02:00
2016-09-12 15:39:39 +02:00
2016-06-07 09:35:16 +02:00
2016-01-05 15:46:34 +01:00
2016-09-13 10:35:56 +02:00
2016-04-28 14:36:37 +02:00
2016-04-08 10:10:08 +02:00
2016-04-05 17:02:35 +02:00
2016-09-08 01:15:46 +02:00
2016-06-07 09:35:16 +02:00
2016-01-05 11:21:20 +01:00
2016-06-07 09:35:16 +02:00
2016-09-13 10:35:56 +02:00
2016-05-11 13:46:49 +02:00
2016-08-23 11:23:41 +02:00
2016-03-31 15:07:40 +02:00
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:43 +05:30
2016-04-14 14:03:26 +02:00
2016-06-08 10:48:17 +02:00
2016-02-23 20:35:44 +05:30
2016-09-13 10:35:56 +02:00
2016-06-22 17:58:07 +02:00
2016-05-11 13:49:11 +02:00
2016-09-13 10:35:56 +02:00
2016-06-07 09:35:16 +02:00
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2016-06-07 09:35:16 +02:00
2016-09-13 10:35:56 +02:00
2016-02-25 15:20:44 +01:00
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:49 +05:30
2016-09-13 10:35:56 +02:00
2016-02-23 20:35:50 +05:30
2016-01-05 11:21:16 +01:00
2016-01-05 11:21:16 +01:00
2016-02-23 20:35:50 +05:30
2016-08-23 11:24:40 +02:00
2016-06-07 09:35:16 +02:00
2016-01-05 11:21:20 +01:00
2016-04-14 14:03:28 +02:00
2016-08-19 15:02:19 +02:00
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2016-05-02 09:32:04 -07:00
2016-03-31 10:22:53 +02:00
2016-05-17 17:39:42 -07:00
2016-06-08 10:33:45 +02:00
2016-06-08 10:54:13 +02:00
2016-01-05 11:21:20 +01:00
2016-05-11 13:50:01 +02:00
2016-03-31 15:10:25 +02:00
2016-06-08 10:36:29 +02:00
2016-06-15 08:49:15 +02:00
2016-07-04 16:51:29 +02:00
2016-07-26 19:16:01 -07:00
2016-09-12 14:53:33 +02:00
2016-09-12 11:05:03 +02:00
2016-04-26 10:51:36 +02:00
2016-09-13 10:31:59 +02:00
2016-09-13 10:31:59 +02:00