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-04-19 07:58:06 +01:00
2016-10-04 15:48:01 +01:00
2016-08-31 10:50:59 +01:00
2015-11-06 10:23:50 -08:00
2016-05-20 11:10:24 -07:00
2016-05-20 11:10:24 -07:00
2016-08-31 13:20:31 +01:00
2016-08-01 07:28:14 -04:00
2016-05-20 11:10:24 -07:00
2016-08-31 13:48:25 +01:00
2015-10-30 17:19:51 +00:00
2015-10-30 17:19:51 +00: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
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2013-07-31 13:01:29 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2015-09-04 11:46:02 -07:00
2015-09-04 11:46:02 -07:00