diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-12-14 21:17:26 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-12-14 21:17:26 +0100 |
commit | 1f86df49ddfd0067cce941187d57b2fd2f749a9e (patch) | |
tree | a8357108c8be9e39d040e71d473df4a8f46550da /drivers/hwmon/lm77.c | |
parent | c3813d6af177fab19e322f3114b1f64fbcf08d71 (diff) | |
download | linux-3.10-1f86df49ddfd0067cce941187d57b2fd2f749a9e.tar.gz linux-3.10-1f86df49ddfd0067cce941187d57b2fd2f749a9e.tar.bz2 linux-3.10-1f86df49ddfd0067cce941187d57b2fd2f749a9e.zip |
i2c: Drop I2C_CLIENT_INSMOD_1
This macro simply declares an enum, so drivers might as well declare
it themselves.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/hwmon/lm77.c')
-rw-r--r-- | drivers/hwmon/lm77.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hwmon/lm77.c b/drivers/hwmon/lm77.c index b6105e570b0..b28a297be50 100644 --- a/drivers/hwmon/lm77.c +++ b/drivers/hwmon/lm77.c @@ -39,9 +39,6 @@ static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, I2C_CLIENT_END }; -/* Insmod parameters */ -I2C_CLIENT_INSMOD_1(lm77); - /* The LM77 registers */ #define LM77_REG_TEMP 0x00 #define LM77_REG_CONF 0x01 @@ -76,7 +73,7 @@ static struct lm77_data *lm77_update_device(struct device *dev); static const struct i2c_device_id lm77_id[] = { - { "lm77", lm77 }, + { "lm77", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, lm77_id); |