From 6ca5465adfdb0a5232dd643cfcfcab959a33aa94 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Wed, 21 Mar 2007 11:03:23 -0400 Subject: s5h1409: use ARRAY_SIZE macro when appropriate From: Michael Krufky Use ARRAY_SIZE macro already defined in kernel.h Signed-off-by: Michael Krufky --- linux/drivers/media/dvb/frontends/s5h1409.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'linux/drivers/media/dvb') diff --git a/linux/drivers/media/dvb/frontends/s5h1409.c b/linux/drivers/media/dvb/frontends/s5h1409.c index d46425b30..035a94bff 100644 --- a/linux/drivers/media/dvb/frontends/s5h1409.c +++ b/linux/drivers/media/dvb/frontends/s5h1409.c @@ -483,7 +483,7 @@ static int s5h1409_init (struct dvb_frontend* fe) s5h1409_sleep(fe, 0); s5h1409_register_reset(fe); - for (i=0; i vsb_snr_tab[i].val) { *snr = vsb_snr_tab[i].data; ret = 0; -- cgit v1.2.3