ARM: OMAP2: Camera: Fix v4l2 int device detach
authorSakari Ailus <sakari.ailus@nokia.com>
Tue, 16 Oct 2007 15:08:28 +0000 (18:08 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2007 12:49:07 +0000 (05:49 -0700)
omap24xxcam_device_unregister expected the argument to be its own
device structure but it's actually that of its slave.

Also get master from slave's structure in omap24xxcam_device_register.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found