linux/drivers/media/common/tuners
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 (8534): remove select's of FW_LOADER 2008-07-27 12:24:37 -03:00
Makefile V4L/DVB (8528): add support for MaxLinear MxL5007T silicon tuner 2008-07-27 11:07:18 -03:00
mt20xx.c V4L/DVB (8493): mt20xx: test below 0 on unsigned lo1a and lo2a 2008-07-26 13:18:19 -03:00
mt20xx.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mt2060.c V4L/DVB (8970): mt2060: implement I2C-gate control 2008-10-12 09:37:02 -02:00
mt2060.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mt2060_priv.h
mt2131.c V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
mt2131.h V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
mt2131_priv.h V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
mt2266.c
mt2266.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mxl5005s.c V4L/DVB (9638): drivers/media: use ARRAY_SIZE 2008-12-29 17:53:34 -02:00
mxl5005s.h V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
mxl5007t.c V4L/DVB (8954): common/tuners: Drop code after return or goto 2008-10-12 09:37:01 -02:00
mxl5007t.h V4L/DVB (8549): mxl5007: Fix an error at include file 2008-07-27 19:36:08 -03:00
qt1010.c
qt1010.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
qt1010_priv.h
tda827x.c V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
tda827x.h V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
tda8290.c V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
tda8290.h V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
tda9887.c V4L/DVB (9497): tda9887/cx88: Adds SECAM/BGH standards 2008-12-29 17:53:25 -02:00
tda9887.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tda18271-common.c V4L/DVB (8035): tda18271: dont touch EB14 if rf_cal lookup is out of range 2008-06-26 15:58:49 -03:00
tda18271-fe.c V4L/DVB (8954): common/tuners: Drop code after return or goto 2008-10-12 09:37:01 -02:00
tda18271-maps.c V4L/DVB (7984): tda18271: update filename in comments 2008-07-20 07:08:05 -03:00
tda18271-priv.h V4L/DVB (7844): tda18271: add tda_fail macro to log error cases 2008-05-14 02:54:06 -03:00
tda18271.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tea5761.c V4L/DVB (7902): fix handling of tea5761_autodetection return value 2008-06-05 06:35:40 -03:00
tea5761.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tea5767.c V4L/DVB (7804): tea5767: Fix error logic 2008-05-14 02:53:58 -03:00
tea5767.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tuner-i2c.h V4L/DVB (7943): tuner: add macro, hybrid_tuner_report_instance_count 2008-06-05 06:35:46 -03:00
tuner-simple.c V4L/DVB (9268): tuner: add FMD1216MEX tuner 2008-10-17 17:29:09 -03:00
tuner-simple.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tuner-types.c V4L/DVB (9268): tuner: add FMD1216MEX tuner 2008-10-17 17:29:09 -03:00
tuner-xc2028-types.h
tuner-xc2028.c V4L/DVB (9055): tuner-xc2028: Do a better job selecting firmware type 2008-10-12 09:37:09 -02:00
tuner-xc2028.h V4L/DVB (9055): tuner-xc2028: Do a better job selecting firmware type 2008-10-12 09:37:09 -02:00
xc5000.c V4L/DVB (9261): xc5000: Checkpatch compliance 2008-10-17 17:27:59 -03:00
xc5000.h V4L/DVB (9261): xc5000: Checkpatch compliance 2008-10-17 17:27:59 -03:00