commit | b5b2b7ed569cedac4f5da38e08b01c88443187bd | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Sat May 02 10:58:51 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Jun 16 18:20:51 2009 -0300 |
tree | d21f735f5f50fd79ea72d176a2ec2872218ef0a2 | |
parent | a79b11c025a5757a5129e716e7e66dc36a2dfe21 [diff] |
V4L/DVB (11673): v4l2-device: unregister i2c_clients when unregistering the v4l2_device. 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>