]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rc: Make probe cleanup goto labels more verbose
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 2 Nov 2012 12:13:54 +0000 (09:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 20:26:08 +0000 (18:26 -0200)
commit69f0999db600a6847f7c597e4385445095adc598
tree76f5b8f79658f5e98ec4373d4e87d7062a67e3f8
parent4f1916b621517d7130abce4211ecd3989d979ad8
[media] rc: Make probe cleanup goto labels more verbose

Before, labels were simply numbered. Now, the labels are named after the
cleanup action they'll perform (first), based on how the winbond-cir
driver does it. This makes the code a bit more clear and makes changes
in the ordering of labels easier to review.
This change is applied only to the rc drivers that do significant
cleanup in their probe functions: ati-remote, ene-ir, fintek-cir,
gpio-ir-recv, ite-cir, nuvoton-cir.
This commit should not change any code, it just renames goto labels.

[mchehab@redhat.com: removed changes at gpio-ir-recv.c, due to
 merge conflicts]

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/ati_remote.c
drivers/media/rc/ene_ir.c
drivers/media/rc/fintek-cir.c
drivers/media/rc/ite-cir.c
drivers/media/rc/nuvoton-cir.c