linux_old1/drivers/media/video
Jean Delvare 68cc9d0b71 [PATCH] I2C: Merge unused address lists in some video drivers
On top of my previous patch which removes the use of address ranges in
video i2c drivers, this one can save an additional few bytes of memory.
Most of these drivers which do not use I2C_CLIENT_INSMOD initialize the
unused address lists in a less than optimal way. This patch simply
optimizes this, by using a single one-element list instead of 3
different lists with two elements each.

This saves an average 63 bytes on these drivers.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

diff -ruN linux-2.6.12-rc1-bk5.orig/drivers/media/video/adv7170.c linux-2.6.12-rc1-bk5/drivers/media/video/adv7170.c
2005-06-21 21:51:49 -07:00
..
cx88 [PATCH] make lots of things static 2005-05-01 08:59:29 -07:00
ovcamchip Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7134 [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
Kconfig [PATCH] fix Philips SAA7130/7134 TV dependency problem 2005-05-17 07:59:19 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adv7170.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
adv7175.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
arv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt819.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
bt832.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
bt832.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt848.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt856.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
btcx-risc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
btcx-risc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-cards.c [PATCH] Fix for bttv driver (v0.9.15) for Leadtek WinFast VC100 XP capture cards 2005-05-17 07:59:09 -07:00
bttv-driver.c [PATCH] make lots of things static 2005-05-01 08:59:29 -07:00
bttv-gpio.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-i2c.c [PATCH] v4l: bttv i2c oops fix 2005-05-25 15:31:27 -07:00
bttv-if.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-risc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-vbi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttvp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw-qcam.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw-qcam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c-qcam.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia_pp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia_usb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cs8420.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpc7146.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hexium_gemini.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hexium_orion.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmmpeg2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ir-kbd-gpio.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ir-kbd-i2c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
meye.c [PATCH] fix u32 vs. pm_message_t in drivers/media 2005-04-16 15:25:27 -07:00
meye.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msp3400.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
msp3400.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mt20xx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mxb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mxb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
planb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
planb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa5246a.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
saa5246a.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa5249.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
saa7110.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
saa7111.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
saa7114.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
saa7121.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7146.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7146reg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7185.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
saa7196.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stradis.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda7432.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tda8290.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda9840.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tda9840.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda9875.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tda9887.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tea6415c.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tea6415c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tea6420.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tea6420.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tuner-3036.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
tuner-core.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tuner-simple.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tvaudio.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tvaudio.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tveeprom.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tvmixer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
v4l1-compat.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
v4l2-common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video-buf-dvb.c [PATCH] dvb: modified dvb_register_adapter() to avoid kmalloc/kfree 2005-05-17 07:59:33 -07:00
video-buf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videocodec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videocodec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videodev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vino.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vino.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vpx3220.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
w9966.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_card.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_card.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_device.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_device.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_driver.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_procfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_procfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36016.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36016.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36050.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36050.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36057.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36060.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36060.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_i2c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_mem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_mem.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00