kernel-ark/drivers/video
Jean Delvare b3d5496ea5 [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers
Some months ago, you killed the address ranges mechanism from all
sensors i2c chip drivers (both the module parameters and the in-code
address lists). I think it was a very good move, as the ranges can
easily be replaced by individual addresses, and this allowed for
significant cleanups in the i2c core (let alone the impressive size
shrink for all these drivers).

Unfortunately you did not do the same for non-sensors i2c chip drivers.
These need the address ranges even less, so we could get rid of the
ranges here as well for another significant i2c core cleanup. Here comes
a patch which does just that. Since the process is exactly the same as
what you did for the other drivers set already, I did not split this one
in parts.

A documentation update is included.

The change saves 308 bytes in the i2c core, and an average 1382 bytes
for chip drivers which use I2C_CLIENT_INSMOD, 126 bytes for those which
do not.

This change is required if we want to merge the sensors and non-sensors
i2c code (and we want to do this).

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

Index: gregkh-2.6/Documentation/i2c/writing-clients
===================================================================
2005-06-21 21:51:48 -07:00
..
aty
backlight
console [PATCH] fbdev: stack reduction 2005-06-21 19:07:41 -07:00
geode
i810 [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
intelfb [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
kyro
logo
matrox [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
nvidia [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
riva [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
savage [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
sis
68328fb.c
acornfb.c
acornfb.h
amba-clcd.c
amifb.c
arcfb.c [PATCH] Framebuffer driver for Arc LCD board 2005-06-21 19:07:41 -07:00
asiliantfb.c
atafb.c
au1100fb.c
au1100fb.h
bt431.h
bt455.h
bw2.c
c2p.c
c2p.h
cfbcopyarea.c
cfbfillrect.c
cfbimgblt.c
cg3.c
cg6.c
cg14.c
chipsfb.c
cirrusfb.c
clps711xfb.c
controlfb.c
controlfb.h
cyber2000fb.c
cyber2000fb.h
cyberfb.c
cyberfb.h
dnfb.c
edid.h
epson1355fb.c
fbcmap.c
fbmem.c [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
fbmon.c
fbsysfs.c
ffb.c
fm2fb.c
g364fb.c
gbefb.c
hgafb.c
hitfb.c
hpfb.c
igafb.c
imsttfb.c
imxfb.c
imxfb.h
Kconfig [PATCH] Framebuffer driver for Arc LCD board 2005-06-21 19:07:41 -07:00
leo.c
macfb.c
macmodes.c
macmodes.h
Makefile [PATCH] Framebuffer driver for Arc LCD board 2005-06-21 19:07:41 -07:00
maxinefb.c
modedb.c
neofb.c
offb.c
p9100.c
platinumfb.c
platinumfb.h
pm2fb.c
pm3fb.c [PATCH] pm3fb typo fix 2005-06-21 19:07:40 -07:00
pmag-aa-fb.c
pmag-ba-fb.c
pmagb-b-fb.c
pvr2fb.c
pxafb.c
pxafb.h
q40fb.c
radeonfb.c
retz3fb.c
retz3fb.h
s1d13xxxfb.c [PATCH] s1d13xxxfb linkage fix 2005-06-21 19:07:39 -07:00
S3triofb.c
sa1100fb.c
sa1100fb.h
sbuslib.c
sbuslib.h
sgivwfb.c
skeletonfb.c
softcursor.c [PATCH] fbdev: stack reduction 2005-06-21 19:07:41 -07:00
sstfb.c
sticore.h
stifb.c
sun3fb.c
tcx.c
tdfxfb.c
tgafb.c
tridentfb.c
tx3912fb.c
valkyriefb.c
valkyriefb.h
vesafb.c [PATCH] some vesafb fixes 2005-06-21 19:07:39 -07:00
vfb.c
vga16fb.c
vgastate.c
virgefb.c
virgefb.h
w100fb.c
w100fb.h