]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit9c3605e42f97b85912a7db6055cb5eba4a524b60
treeeadbd0f9d33fc8e5da28a03356170cdee7404b3b
parent3f0d629ad3e21f77bf7e389a28c6f5cb57921a88
[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