i2c: Drop I2C_CLIENT_INSMOD_2 to 8
authorJean Delvare <khali@linux-fr.org>
Mon, 14 Dec 2009 20:17:27 +0000 (21:17 +0100)
committerJean Delvare <khali@linux-fr.org>
Mon, 14 Dec 2009 20:17:27 +0000 (21:17 +0100)
commite5e9f44c246fbafe723e579e9fe887677beb40e4
tree53d65b38b6db7aa250400056091a760cced42cd7
parent1f86df49ddfd0067cce941187d57b2fd2f749a9e
i2c: Drop I2C_CLIENT_INSMOD_2 to 8

These macros simply declare an enum, so drivers might as well declare
it themselves. This puts an end to the arbitrary limit of 8 chip types
per i2c driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
19 files changed:
drivers/hwmon/adm1021.c
drivers/hwmon/adm1025.c
drivers/hwmon/adm1031.c
drivers/hwmon/adm9240.c
drivers/hwmon/adt7475.c
drivers/hwmon/dme1737.c
drivers/hwmon/f75375s.c
drivers/hwmon/fschmd.c
drivers/hwmon/gl518sm.c
drivers/hwmon/lm78.c
drivers/hwmon/lm83.c
drivers/hwmon/lm85.c
drivers/hwmon/lm87.c
drivers/hwmon/lm90.c
drivers/hwmon/thmc50.c
drivers/hwmon/tmp401.c
drivers/hwmon/tmp421.c
drivers/hwmon/w83781d.c
include/linux/i2c.h