diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-12-14 15:17:26 -0500 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-12-14 15:17:26 -0500 |
commit | 1f86df49ddfd0067cce941187d57b2fd2f749a9e (patch) | |
tree | a8357108c8be9e39d040e71d473df4a8f46550da /drivers/hwmon/lm63.c | |
parent | c3813d6af177fab19e322f3114b1f64fbcf08d71 (diff) |
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/lm63.c')
-rw-r--r-- | drivers/hwmon/lm63.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/hwmon/lm63.c b/drivers/hwmon/lm63.c index 1426a455071c..bf81aff7051d 100644 --- a/drivers/hwmon/lm63.c +++ b/drivers/hwmon/lm63.c | |||
@@ -56,12 +56,6 @@ | |||
56 | static const unsigned short normal_i2c[] = { 0x4c, I2C_CLIENT_END }; | 56 | static const unsigned short normal_i2c[] = { 0x4c, I2C_CLIENT_END }; |
57 | 57 | ||
58 | /* | 58 | /* |
59 | * Insmod parameters | ||
60 | */ | ||
61 | |||
62 | I2C_CLIENT_INSMOD_1(lm63); | ||
63 | |||
64 | /* | ||
65 | * The LM63 registers | 59 | * The LM63 registers |
66 | */ | 60 | */ |
67 | 61 | ||
@@ -142,7 +136,7 @@ static void lm63_init_client(struct i2c_client *client); | |||
142 | */ | 136 | */ |
143 | 137 | ||
144 | static const struct i2c_device_id lm63_id[] = { | 138 | static const struct i2c_device_id lm63_id[] = { |
145 | { "lm63", lm63 }, | 139 | { "lm63", 0 }, |
146 | { } | 140 | { } |
147 | }; | 141 | }; |
148 | MODULE_DEVICE_TABLE(i2c, lm63_id); | 142 | MODULE_DEVICE_TABLE(i2c, lm63_id); |