[media] staging: lirc: Introduce the use of managed interfaces
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 3 Jul 2014 19:38:40 +0000 (16:38 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 18:02:16 +0000 (15:02 -0300)
commit56a65a1eb0151c60f4fd059e8e47cb4c98fec871
treec518ad58bef50b1f2b074a15f7e1fce977b9e7c7
parent280373533f5b04372ec99dee0459b3bf70ea604f
[media] staging: lirc: Introduce the use of managed interfaces

This patch introduces the use of managed interfaces like
devm_request_mem_region and devm_request_irq and does away with the
calls to free the allocated memory in the probe and remove functions.
The remove function is no longer required and is removed completely.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/lirc/lirc_serial.c