[media] media: lirc_dev: clarify error handling
authorDavid Härdeman <david@hardeman.nu>
Sun, 25 Jun 2017 12:31:19 +0000 (09:31 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 16:49:49 +0000 (13:49 -0300)
commitde226ec8a6ac10e65fcc689a28761c966986e6a6
tree1157167611d07225512ac170a3cb22b470b9ee42
parentcf09e3c904bf424f8b6a8203958e09bf7d9bcbc0
[media] media: lirc_dev: clarify error handling

If an error is generated, it is more logical to error out ASAP.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/lirc_dev.c