projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7727986
)
Staging: IIO: tsl2561: Drop unused module parameters
author
Jean Delvare
<khali@linux-fr.org>
Sun, 4 Oct 2009 20:53:43 +0000
(22:53 +0200)
committer
Jean Delvare
<khali@linux-fr.org>
Sun, 4 Oct 2009 20:53:43 +0000
(22:53 +0200)
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>
drivers/staging/iio/light/tsl2561.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/light/tsl2561.c
b/drivers/staging/iio/light/tsl2561.c
index
ea8a5ef
..
fc2107f
100644
(file)
--- 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)
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 },
{ }