V4L/DVB (11748): pvrusb2: Don't use the internal i2c client list
authorJean Delvare <khali@linux-fr.org>
Sat, 2 May 2009 03:22:27 +0000 (00:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:00 +0000 (18:21 -0300)
commitfa7ce76428e7ee61dfccf336505da7e1b79966b0
tree76780f5a0d02ab5038d8028d8e9414384a7079be
parent48c5b0dfd74f6380aa5fc500fe8d8256f0662592
V4L/DVB (11748): pvrusb2: Don't use the internal i2c client list

The i2c core used to maintain a list of client for each adapter. This
is a duplication of what the driver core already does, so this list
will be removed as part of a future cleanup. Anyone using this list
must stop doing so.

For pvrusb2, I propose the following change, which should lead to an
equally informative output. The only difference is that i2c clients
which are not a v4l2 subdev won't show up, but I guess this case is
not supposed to happen anyway.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-hdw.c