[media] m920x: factor out a m920x_parse_rc_state() function
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 10 Dec 2012 20:37:12 +0000 (17:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 18:29:07 +0000 (16:29 -0200)
commitf526e9e1dcb65c8967c61bbfa72933f4553958ee
tree71e157d7707d1558aaf7590e6879cb985b64e938
parent7543f344e9b06afe86b55a2620f5c11b38bd5642
[media] m920x: factor out a m920x_parse_rc_state() function

This is in preparation to using RC core infrastructure for some devices,
the RC button state parsing logic can be shared berween rc.legacy and
rc.core callbacks as it is independent from the mechanism used for RC
handling.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb/m920x.c