[media] m5mols: Add missing free_irq() on error path
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 16 Aug 2012 14:15:00 +0000 (11:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 17:56:15 +0000 (14:56 -0300)
commit9064cb5e03b1502782d314b03ea3cbe09992f9a7
treea72ae625ad854c238d7d52031ac6b56a30a866ed
parentbbc5296f20570756ca437587325c785a2d96ea96
[media] m5mols: Add missing free_irq() on error path

Make sure the interrupt is freed when driver probing fails.

Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: HeungJun Kim <riverful.kim@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/m5mols/m5mols_core.c