ARM: OMAP1: Camera: Fix v4l2 int device detach
authorEduardo Valentin <eduardo.valentin@indt.org.br>
Wed, 21 Nov 2007 22:23:04 +0000 (18:23 -0400)
committerTony Lindgren <tony@atomide.com>
Wed, 28 Nov 2007 02:23:26 +0000 (18:23 -0800)
camera_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 camera_device_register.

Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found