[media] mt9v032: Free control handler in cleanup paths
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 2 May 2013 11:34:30 +0000 (08:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 10:49:54 +0000 (07:49 -0300)
commit9462550f66dfbbb2eb0961af2c9d2c3e000d9239
treed338df7b7ab020722c7c19cc24c57ed7153b0029
parent2660a22b55ae9a01c1e1117e9d514427834704bc
[media] mt9v032: Free control handler in cleanup paths

The control handler must be freed in the probe error path and in the
remove handler.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/mt9v032.c