linux_dsm_epyc7002/drivers/macintosh
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
..
adb-iop.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adb.c [PATCH] class: convert drivers/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
adbhid.c [PATCH] macintosh/adbhid.c: adb buttons support for aluminium PowerBook G4 2005-05-01 08:58:41 -07:00
ans-lcd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
apm_emu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mac_hid.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macio_asic.c [PATCH] fix u32 vs. pm_message_t in drivers/macintosh 2005-04-16 15:25:32 -07:00
macio-adb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macserial.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macserial.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mediabay.c [PATCH] fix u32 vs. pm_message_t in drivers/macintosh 2005-04-16 15:25:32 -07:00
nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
therm_adt746x.c [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks 2005-06-20 15:15:34 -07:00
therm_pm72.c [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks 2005-06-20 15:15:34 -07:00
therm_pm72.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
therm_windtunnel.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
via-cuda.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-macii.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-maciisi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-pmu68k.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-pmu.c [PATCH] ppc32: Fix nasty sleep/wakeup problem 2005-06-09 21:33:35 -07:00