1
0
Fork 0
alistair23-linux/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 [PATCH] radeonfb: don't blow up VGA console on load 2005-06-12 20:59:05 -07:00
backlight [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
console [PATCH] fbdev: stack reduction 2005-06-21 19:07:41 -07:00
geode Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
logo [SPARC]: Enable sun logo on sparc32 2005-04-24 20:42:45 -07:00
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 [PATCH] make some things static 2005-05-05 16:36:47 -07:00
68328fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] Framebuffer driver for Arc LCD board 2005-06-21 19:07:41 -07:00
Makefile [PATCH] Framebuffer driver for Arc LCD board 2005-06-21 19:07:41 -07:00
S3triofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amba-clcd.c [PATCH] ARM: IntegratorCP: 16bpp is RGB565 not RGB555 2005-04-30 23:28:47 +01:00
amifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
arcfb.c [PATCH] Framebuffer driver for Arc LCD board 2005-06-21 19:07:41 -07:00
asiliantfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1100fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt431.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt455.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbcopyarea.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbfillrect.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbimgblt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg14.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chipsfb.c [PATCH] Bring back Tux on Chips 65550 framebuffer 2005-06-21 19:07:39 -07:00
cirrusfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clps711xfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyber2000fb.c [PATCH] ARM: Cleanup kmalloc in cyber2000fb 2005-05-03 12:23:56 +01:00
cyber2000fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dnfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
edid.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
epson1355fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcmap.c [PATCH] fbdev: Batch cmap changes at driver level 2005-05-01 08:59:22 -07:00
fbmem.c [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
fbmon.c [PATCH] fbdev: edid.h cleanups 2005-05-01 08:59:23 -07:00
fbsysfs.c [PATCH] Typo in fbdev sysfs support, virtual_size 2005-06-13 20:58:58 -07:00
ffb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fm2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
g364fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gbefb.c [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks 2005-06-20 15:15:35 -07:00
hgafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hitfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
igafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
imsttfb.c [PATCH] imsttfb missing iomem annotations 2005-04-26 07:43:42 -07:00
imxfb.c [PATCH] imxfb: Add Freescale i.MX framebuffer driver 2005-05-01 08:59:24 -07:00
imxfb.h [PATCH] imxfb: Add Freescale i.MX framebuffer driver 2005-05-01 08:59:24 -07:00
leo.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macmodes.c [PATCH] macmodes: needs a license 2005-06-14 07:19:35 -07:00
macmodes.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
maxinefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
modedb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
neofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
offb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
p9100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platinumfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platinumfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm3fb.c [PATCH] pm3fb typo fix 2005-06-21 19:07:40 -07:00
pmag-aa-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmag-ba-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmagb-b-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pvr2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pxafb.c [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
pxafb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
q40fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeonfb.c [PATCH] drivers/video/radeonfb.c: fix an array overflow 2005-05-01 08:59:30 -07:00
retz3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
retz3fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s1d13xxxfb.c [PATCH] s1d13xxxfb linkage fix 2005-06-21 19:07:39 -07:00
sa1100fb.c [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
sa1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgivwfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skeletonfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
softcursor.c [PATCH] fbdev: stack reduction 2005-06-21 19:07:41 -07:00
sstfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcx.c [SPARC]: TCX Framebuffer fixes 2005-04-24 20:39:15 -07:00
tdfxfb.c [PATCH] Clean-up and bug fix for tdfxfb framebuffer size detection 2005-05-01 08:59:25 -07:00
tgafb.c [PATCH] Fix tgafb.c compile failure 2005-04-21 14:09:42 -07:00
tridentfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx3912fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vesafb.c [PATCH] some vesafb fixes 2005-06-21 19:07:39 -07:00
vfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vga16fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vgastate.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
virgefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
virgefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w100fb.c [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks 2005-06-20 15:15:35 -07:00
w100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00