diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-10-04 16:53:43 -0400 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-10-04 16:53:43 -0400 |
commit | 0d83f18b17f89dd745e27759d0464fb29ef6eb65 (patch) | |
tree | 66e4d06b23bfd401bff8e4ba615cfdff15f1445d /drivers/staging | |
parent | 77279862bad879c1c194171f5cf6b5b0e7abe384 (diff) |
Staging: IIO: tsl2561: Drop unused module parameters
The I2C_CLIENT_INSMOD macro is only useful for i2c drivers which
implement device detection. The tsl2561 driver doesn't, so there
is no point in calling it.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/light/tsl2561.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/iio/light/tsl2561.c b/drivers/staging/iio/light/tsl2561.c index ea8a5efc19b..fc2107f4c04 100644 --- a/drivers/staging/iio/light/tsl2561.c +++ b/drivers/staging/iio/light/tsl2561.c | |||
@@ -239,10 +239,6 @@ static int __devexit tsl2561_remove(struct i2c_client *client) | |||
239 | return tsl2561_powerdown(client); | 239 | return tsl2561_powerdown(client); |
240 | } | 240 | } |
241 | 241 | ||
242 | static unsigned short normal_i2c[] = { 0x29, 0x39, 0x49, I2C_CLIENT_END }; | ||
243 | |||
244 | I2C_CLIENT_INSMOD; | ||
245 | |||
246 | static const struct i2c_device_id tsl2561_id[] = { | 242 | static const struct i2c_device_id tsl2561_id[] = { |
247 | { "tsl2561", 0 }, | 243 | { "tsl2561", 0 }, |
248 | { } | 244 | { } |