[media] ati_remote: allow specifying a default keymap selector function
authorAnssi Hannula <anssi.hannula@iki.fi>
Sun, 1 Apr 2012 19:41:45 +0000 (16:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Apr 2012 05:04:59 +0000 (02:04 -0300)
commit0d74679c37241f539b80334085e73ba063b2116d
tree3be0a9bf48c33231ea4fe70d03ca8f8e4dd2c3eb
parentfeed0258e11e04b7e0d2df8ae3793ab5d302a035
[media] ati_remote: allow specifying a default keymap selector function

Currently the ati_remote default keymap is selected directly based on
the USB device id.

Add support for instead specifying a function returning the default
keymap, allowing more complex selection logic to be added when needed.

This will be used for Medion X10 remotes in a following commit.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/ati_remote.c