[media] rc-core: improve ir-kbd-i2c get_key functions
authorDavid Härdeman <david@hardeman.nu>
Thu, 3 Apr 2014 23:31:25 +0000 (20:31 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 23 Jul 2014 23:05:56 +0000 (20:05 -0300)
commit4dd9bb91bb5dc44e3f8c23c60a0ba432e50d7488
treeeadbd0f9d33fc8e5da28a03356170cdee7404b3b
parent2886f013c312d288fdd4b8472b82a0a9590e3134
[media] rc-core: improve ir-kbd-i2c get_key functions

The arguments used for ir-kbd-i2c's get_key() functions are not
really suited for rc-core and the ir_raw/ir_key distinction is
just confusing.

Convert all of them to return a protocol/scancode/toggle triple instead.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/ir-kbd-i2c.c
drivers/media/pci/bt8xx/bttv-input.c
drivers/media/pci/cx88/cx88-input.c
drivers/media/pci/ivtv/ivtv-i2c.c
drivers/media/pci/saa7134/saa7134-input.c
drivers/media/usb/cx231xx/cx231xx-input.c
include/media/ir-kbd-i2c.h
include/media/rc-map.h