linux/drivers/media/video/gspca
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
..
m5602 V4L/DVB (9283): Correct typo and enable setting the gain on the mt9m111 sensor 2008-10-17 17:40:25 -03:00
conex.c V4L/DVB (9689): gspca: Memory leak when disconnect while streaming. 2008-11-24 12:01:07 -02:00
etoms.c V4L/DVB (9079): gspca: Return error code from stream start functions. 2008-10-12 09:37:12 -02:00
finepix.c V4L/DVB (9544): gspca: Clear the bulk endpoint at starting time when bulk transfer. 2008-12-29 17:53:28 -02:00
gspca.c V4L/DVB (9638): drivers/media: use ARRAY_SIZE 2008-12-29 17:53:34 -02:00
gspca.h V4L/DVB (9545): gspca: Add a flag for empty ISOC packets. 2008-12-29 17:53:29 -02:00
jpeg.h V4L/DVB (8156): Many bug fixes, zc3xx added. 2008-07-20 07:14:45 -03:00
Kconfig V4L/DVB (9548): gspca: Fix Kconfig CodingStyle 2008-12-29 17:53:30 -02:00
Makefile V4L/DVB (9121): gspca: Add the subdriver finepix in Kconfig and Makefile. 2008-10-12 09:37:15 -02:00
mars.c V4L/DVB (9638): drivers/media: use ARRAY_SIZE 2008-12-29 17:53:34 -02:00
ov519.c V4L/DVB (9562): gspca: Set the default frame rate to 30 fps for sensor ov764x in ov519. 2008-12-29 17:53:29 -02:00
pac207.c V4L/DVB (9553): gspca: Webcam 145f:013a added in pac207. 2008-12-29 17:53:29 -02:00
pac7311.c V4L/DVB (9689): gspca: Memory leak when disconnect while streaming. 2008-11-24 12:01:07 -02:00
pac_common.h V4L/DVB (8825): gspca: More controls for pac73xx and new webcam 093a:2624. 2008-09-03 18:37:38 -03:00
sonixb.c V4L/DVB (9560): gspca: Let gspca handle the webcam 0c45:602c instead of sn9c102. 2008-12-29 17:53:30 -02:00
sonixj.c V4L/DVB (9563): gspca: Let gspca handle the webcam 0471:0328 instead of sn9c102. 2008-12-29 17:53:30 -02:00
spca500.c V4L/DVB (9638): drivers/media: use ARRAY_SIZE 2008-12-29 17:53:34 -02:00
spca501.c V4L/DVB (9689): gspca: Memory leak when disconnect while streaming. 2008-11-24 12:01:07 -02:00
spca505.c V4L/DVB (9689): gspca: Memory leak when disconnect while streaming. 2008-11-24 12:01:07 -02:00
spca506.c V4L/DVB (9079): gspca: Return error code from stream start functions. 2008-10-12 09:37:12 -02:00
spca508.c V4L/DVB (9079): gspca: Return error code from stream start functions. 2008-10-12 09:37:12 -02:00
spca561.c V4L/DVB (9689): gspca: Memory leak when disconnect while streaming. 2008-11-24 12:01:07 -02:00
stk014.c V4L/DVB (9079): gspca: Return error code from stream start functions. 2008-10-12 09:37:12 -02:00
sunplus.c V4L/DVB (9079): gspca: Return error code from stream start functions. 2008-10-12 09:37:12 -02:00
t613.c V4L/DVB (9294): gspca: Add a stop sequence in t613. 2008-10-17 17:41:20 -03:00
tv8532.c V4L/DVB (9552): gspca: Simplify the ISOC packet scanning in tv8532. 2008-12-29 17:53:29 -02:00
vc032x.c V4L/DVB (9689): gspca: Memory leak when disconnect while streaming. 2008-11-24 12:01:07 -02:00
zc3xx-reg.h V4L/DVB (8359): gspca: Adds register aliases for zc03xx registers 2008-07-20 07:26:49 -03:00
zc3xx.c V4L/DVB (9689): gspca: Memory leak when disconnect while streaming. 2008-11-24 12:01:07 -02:00