Skip to content

Commit

Permalink
Staging: IIO: tsl2561: Drop unused module parameters
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Jonathan Cameron <[email protected]>
  • Loading branch information
Jean Delvare committed Oct 4, 2009
1 parent 7727986 commit 0d83f18
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/iio/light/tsl2561.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,6 @@ static int __devexit tsl2561_remove(struct i2c_client *client)
return tsl2561_powerdown(client);
}

static unsigned short normal_i2c[] = { 0x29, 0x39, 0x49, I2C_CLIENT_END };

I2C_CLIENT_INSMOD;

static const struct i2c_device_id tsl2561_id[] = {
{ "tsl2561", 0 },
{ }
Expand Down

0 comments on commit 0d83f18

Please sign in to comment.