[media] em28xx: IR RC: move assignment of get_key functions from *_change_protocol...
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Thu, 27 Dec 2012 22:02:47 +0000 (19:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Jan 2013 03:12:11 +0000 (01:12 -0200)
commit6ea887efadec30ec830ed9466073715b7d339d2b
treef88ac9d9599fa6626ce20c94114616ed3b29e36c
parent05fe2175cf87da8a5475aed422bd636475ab0412
[media] em28xx: IR RC: move assignment of get_key functions from *_change_protocol() functions to em28xx_ir_init()

The get_key functions are independent from the selected protocol, so assign
them once only at device initialization.

[mchehab@redhat.com: fix a merge conflict]
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-input.c