OSDN Git Service

[media] media: rc: gpio-ir-recv: use devm_request_irq
authorLadislav Michl <ladis@linux-mips.org>
Thu, 7 Sep 2017 23:38:20 +0000 (20:38 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 19:03:18 +0000 (16:03 -0300)
commit1a2a60b1af1293e8ee7780691ef90a8aa68991c1
tree69ab10472b117db66f1fbcc5bc0960d190ed27db
parent375929f9f48356e862789c72ddc1175d89866f44
[media] media: rc: gpio-ir-recv: use devm_request_irq

Use of devm_request_irq simplifies error unwinding and as
free_irq was the last user of driver remove function,
remove it too.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/gpio-ir-recv.c