[media] media: rc: gpio-ir-recv: use devm_gpio_request_one
authorLadislav Michl <ladis@linux-mips.org>
Thu, 7 Sep 2017 23:36:39 +0000 (20:36 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 18:30:25 +0000 (15:30 -0300)
commitfcca09edb9f6e406de6014e3f1c2695b15b52abb
tree6e937069b8fd4034e3e1c80830c967621b080226
parentf4940b563feff6f2514fc8c5309b844b0540a4cb
[media] media: rc: gpio-ir-recv: use devm_gpio_request_one

Use of devm_gpio_request_one simplifies error unwinding.

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