V4L/DVB (11673): v4l2-device: unregister i2c_clients when unregistering the v4l2_device.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 2 May 2009 13:58:51 +0000 (10:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:51 +0000 (18:20 -0300)
Until now I relied on i2c_del_adapter to unregister the i2c_clients for
me, however, if the i2c bus is a platform bus then it is never deleted.

So instead I need to unregister i2c clients when unregistering the
v4l2_device.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found