[media] smiapp: Free control handlers in sub-device cleanup
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 3 Oct 2014 14:20:37 +0000 (11:20 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Dec 2014 13:43:33 +0000 (11:43 -0200)
commitf7350a034af4531f6df7e66cd5661f0f9a0ec4d6
treedad4675883d23f5d4186928fc2ccaa4a0f5d1b86
parent0691b40e88350cbfa686ca25f98ab614f1919d73
[media] smiapp: Free control handlers in sub-device cleanup

Also call smiapp_cleanup() in smiapp_remove(), replacing code that did the
same than the function.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c