V4L/DVB (11843): ir-kbd-i2c: Don't use i2c_client.name for our own needs
authorJean Delvare <khali@linux-fr.org>
Wed, 13 May 2009 19:48:07 +0000 (16:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:11 +0000 (18:21 -0300)
commit1df8e9861cf9fac5737ccb61c7f7fefa77711d40
treebacc30f912a50aeff07f869f610e76845bd1d148
parent24c44d85114098a013dd5fed084fb27ad803f000
V4L/DVB (11843): ir-kbd-i2c: Don't use i2c_client.name for our own needs

In the standard device driver binding model, the name field of
struct i2c_client is used to match devices to their drivers, so we
must stop using it for internal purposes. Define a separate field
in struct IR_i2c as a replacement, and use it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-input.c
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-input.c
drivers/media/video/ir-kbd-i2c.c
drivers/media/video/saa7134/saa7134-input.c
include/media/ir-kbd-i2c.h