Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-4
-4
drivers/staging/iio/light/tsl2561.c
··· 239 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 242 static const struct i2c_device_id tsl2561_id[] = { 247 243 { "tsl2561", 0 }, 248 244 { }