hwmon: Don't overuse I2C_CLIENT_MODULE_PARM
authorJean Delvare <khali@linux-fr.org>
Wed, 7 Jan 2009 15:37:32 +0000 (16:37 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 7 Jan 2009 15:37:32 +0000 (16:37 +0100)
commit3aed198c35567e5a721f52c0bde23167867e6af6
tree13c17bf66e033c55bff3b8efa8380480118cb3b8
parent6e34b187bc216fc632769fb8b906d3a29ccd8f14
hwmon: Don't overuse I2C_CLIENT_MODULE_PARM

I2C_CLIENT_MODULE_PARM is overkill for force_subclients. We really
only use 4 out of the 48 slots, so we're better defining a custom
variable instead. This change saves 92 bytes of data for each of the
five drivers affected.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Marc Hulsman <m.hulsman@tudelft.nl>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/asb100.c
drivers/hwmon/w83781d.c
drivers/hwmon/w83791d.c
drivers/hwmon/w83792d.c
drivers/hwmon/w83793.c