diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-12-14 20:17:26 (GMT) |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-12-14 20:17:26 (GMT) |
commit | 1f86df49ddfd0067cce941187d57b2fd2f749a9e (patch) | |
tree | a8357108c8be9e39d040e71d473df4a8f46550da /drivers/misc/ics932s401.c | |
parent | c3813d6af177fab19e322f3114b1f64fbcf08d71 (diff) | |
download | linux-fsl-qoriq-1f86df49ddfd0067cce941187d57b2fd2f749a9e.tar.xz |
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/misc/ics932s401.c')
-rw-r--r-- | drivers/misc/ics932s401.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/misc/ics932s401.c b/drivers/misc/ics932s401.c index d8a8471..395a4ea 100644 --- a/drivers/misc/ics932s401.c +++ b/drivers/misc/ics932s401.c @@ -30,9 +30,6 @@ /* Addresses to scan */ static const unsigned short normal_i2c[] = { 0x69, I2C_CLIENT_END }; -/* Insmod parameters */ -I2C_CLIENT_INSMOD_1(ics932s401); - /* ICS932S401 registers */ #define ICS932S401_REG_CFG2 0x01 #define ICS932S401_CFG1_SPREAD 0x01 @@ -111,7 +108,7 @@ static int ics932s401_detect(struct i2c_client *client, static int ics932s401_remove(struct i2c_client *client); static const struct i2c_device_id ics932s401_id[] = { - { "ics932s401", ics932s401 }, + { "ics932s401", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, ics932s401_id); |