staging: media: omap1: Replace request_irq with devm_request_irq
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Tue, 22 Mar 2016 16:53:02 +0000 (22:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit62d727c4a99a97e5cc73294d86ccf4b7250bfc3b
treebf63b70b356775ed6859ed38868c183dceae6c1d
parent76e543382bd4f488f2a1ca726b7494e6c5f4cc89
staging: media: omap1: Replace request_irq with devm_request_irq

Replace request_irq with devm_request_irq to get the interrupt
for device which is automatically freed on exit. Remove
corresponding free_irq from probe and remove functions of a
platform device.

Also, remove an unnecessary label.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/omap1/omap1_camera.c