[media] media: davinci: vpif_display: move the freeing of irq and global variables...
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Mon, 17 Jun 2013 14:20:48 +0000 (11:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 14:27:34 +0000 (11:27 -0300)
commit0b361583a5e15bcf4b686cf02bd2cc3925e4005d
tree9be09d6d290f4b222bfc235c50fe77af1def3a73
parenta76a0b338112580593af0f68327e3cc204d4d8e7
[media] media: davinci: vpif_display: move the freeing of irq and global variables to remove()

Ideally the freeing of irq's and the global variables needs to be
done in the remove() rather than module_exit(), this patch moves
the freeing up of irq's and freeing the memory allocated to channel
objects to remove() callback of struct platform_driver.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpif_display.c