linux_dsm_epyc7002/drivers/media/radio
Julia Lawall 78f2c50bb4 [media] constify i2c_algorithm structures
These i2c_algorithm structures are only stored in the alg field of an
i2c_adapter structure, which is declared as const.  This declare the
structures as const as well.

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 i2c_algorithm i@p = { ... };

@ok@
identifier r.i;
struct i2c_adapter e;
position p;
@@
e.alg = &i@p;

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

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

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-19 16:27:02 -03:00
..
si470x [media] radio-si470x-i2c: Delete owner assignment 2016-09-06 16:23:19 -03:00
si4713 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
wl128x drivers: misc: ti-st: Use int instead of fuzzy char for callback status 2016-07-17 19:59:26 +02:00
dsbr100.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
Kconfig [media] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device 2013-12-18 11:30:32 -02:00
lm7000.h [media] radio: Add Sanyo LM7000 tuner driver 2012-06-25 11:07:27 -03:00
Makefile [media] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device 2013-12-18 11:30:32 -02:00
radio-aimslab.c [media] radio/aimslab: use mdelay instead of udelay 2015-02-02 11:07:09 -02:00
radio-aztech.c exynos4-is: remove some unused vars 2016-06-24 08:36:13 -03:00
radio-cadet.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-gemtek.c [media] radio: use true/false for boolean vars 2014-09-03 17:59:20 -03:00
radio-isa.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-isa.h [media] radio-isa: PnP support for the new ISA radio framework 2012-04-10 19:52:16 -03:00
radio-keene.c [media] Fix 64-bit division fall-out from 64-bit control ranges 2014-07-17 12:44:38 -03:00
radio-ma901.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-maxiradio.c [media] radio-maxiradio: fix memory leak when device is removed 2016-06-28 08:05:47 -03:00
radio-miropcm20.c [media] media/radio: fix radio-miropcm20.c build with io.h header file 2014-09-21 20:50:38 -03:00
radio-mr800.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-raremono.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-rtrack2.c [media] radio-rtrack2: fix mute bug 2013-03-05 15:20:07 -03:00
radio-sf16fmi.c [media] radio-sf16fmi: declare pnp_attached as static 2014-09-26 06:47:55 -03:00
radio-sf16fmr2.c [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
radio-shark2.c [media] radio-shark2: constify radio_tea5777_ops structures 2015-11-17 14:52:15 -02:00
radio-shark.c [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
radio-si476x.c [media] radio-si476x: add return value check to avoid dead code 2016-02-01 08:01:15 -02:00
radio-tea5764.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
radio-tea5777.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-tea5777.h [media] radio-shark2: constify radio_tea5777_ops structures 2015-11-17 14:52:15 -02:00
radio-terratec.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-timb.c [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
radio-trust.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-typhoon.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-wl1273.c [media] media: radio: handle timeouts 2015-03-02 16:50:42 -03:00
radio-zoltrix.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
saa7706h.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
tea575x.c [media] tea575x: convert to library 2016-02-10 09:34:28 -02:00
tef6862.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00