linux/drivers/media/video/saa7134
Julia Lawall 802971257a V4L/DVB (9638): drivers/media: use ARRAY_SIZE
ARRAY_SIZE is more concise to use when the size of an array is divided by
the size of its type or the size of its first element.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@i@
@@

@depends on i using "paren.iso"@
type T;
T[] E;
@@

- (sizeof(E)/sizeof(E[...]))
+ ARRAY_SIZE(E)

@depends on i using "paren.iso"@
type T;
T[] E;
@@

- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-29 17:53:34 -02:00
..
Kconfig V4L/DVB (9885): drivers/media Kconfig's: fix bugzilla #12204 2008-12-16 16:43:59 -02:00
Makefile V4L/DVB(7767): Move tuners to common/tuners 2008-04-29 18:41:37 -03:00
saa6752hs.c V4L/DVB (8918): saa6752hs: simplify writing to registers 2008-10-12 09:36:59 -02:00
saa7134-alsa.c ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
saa7134-cards.c V4L/DVB (9168): Add support for MSI TV@nywhere Plus remote 2008-10-13 09:57:34 -02:00
saa7134-core.c V4L/DVB (9356): [PATCH] saa7134: fix resource map sanity check conflict 2008-11-11 08:11:21 -02:00
saa7134-dvb.c V4L/DVB (9577): saa7134-dvb: MFE attachment clean-up for saa-7134 dvb 2008-12-29 17:53:31 -02:00
saa7134-empress.c V4L/DVB (9327): v4l: use video_device.num instead of minor in video%d 2008-10-21 14:31:37 -02:00
saa7134-i2c.c V4L/DVB (9168): Add support for MSI TV@nywhere Plus remote 2008-10-13 09:57:34 -02:00
saa7134-input.c V4L/DVB (9168): Add support for MSI TV@nywhere Plus remote 2008-10-13 09:57:34 -02:00
saa7134-reg.h V4L/DVB (8019): New for I2S on for MPEG of saa7134_empress 2008-07-20 07:09:03 -03:00
saa7134-ts.c V4L/DVB (8797): A simple state machine was added to saa7134_ts. 2008-10-12 09:36:55 -02:00
saa7134-tvaudio.c V4L/DVB (9638): drivers/media: use ARRAY_SIZE 2008-12-29 17:53:34 -02:00
saa7134-vbi.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7134-video.c V4L/DVB (9160): v4l: remove vidioc_enum_fmt_vbi_cap 2008-10-13 09:07:55 -02:00
saa7134.h V4L/DVB (9522): Increase number of SAA7134 devices supported in a system 2008-12-29 17:53:27 -02:00