V4L/DVB (11936): Fix v4l2-device usage of i2c_unregister_device()
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 10 Jun 2009 14:58:22 +0000 (11:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 22:07:26 +0000 (19:07 -0300)
commitef5b5168e58021f87af53283002795ce5a787c2b
tree484938320538f521005d095a361e3071d92c85bd
parent436ae1381e68b5067da0cab78ffdfa948fb863b8
V4L/DVB (11936): Fix v4l2-device usage of i2c_unregister_device()

Fix v4l2-device usage of i2c_unregister_device() and handle the case of
CONFIG_I2C=m & CONFIG_MEDIA_VIDEO=y.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-device.c