]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitafefb51286633530b109eb84a051de794af11e63
treec518ad58bef50b1f2b074a15f7e1fce977b9e7c7
parent91bd27b23f34832c6b13350bbe7b4cf7e6c45ce5
[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