git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 2.0 rc7
[linux-2.6.git]
/
drivers
/
media
/
video
/
tea6415c.c
diff --git
a/drivers/media/video/tea6415c.c
b/drivers/media/video/tea6415c.c
index
807fd7e
..
3ec3955
100644
(file)
--- a/
drivers/media/video/tea6415c.c
+++ b/
drivers/media/video/tea6415c.c
@@
-51,9
+51,6
@@
I2C_CLIENT_INSMOD;
static struct i2c_driver driver;
static struct i2c_client client_template;
static struct i2c_driver driver;
static struct i2c_client client_template;
-/* unique ID allocation */
-static int tea6415c_id = 0;
-
/* this function is called by i2c_probe */
static int detect(struct i2c_adapter *adapter, int address, int kind)
{
/* this function is called by i2c_probe */
static int detect(struct i2c_adapter *adapter, int address, int kind)
{
@@
-73,7
+70,6
@@
static int detect(struct i2c_adapter *adapter, int address, int kind)
/* fill client structure */
memcpy(client, &client_template, sizeof(struct i2c_client));
/* fill client structure */
memcpy(client, &client_template, sizeof(struct i2c_client));
- client->id = tea6415c_id++;
client->addr = address;
client->adapter = adapter;
client->addr = address;
client->adapter = adapter;