]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: get rid of the dependency on module ir-kbd-i2c
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 13 Jan 2013 13:20:41 +0000 (10:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 22:38:50 +0000 (20:38 -0200)
commit6a0f4c4bc090e63cc3158a43e91e46ad6f8deeda
tree35dcf06751ac0ecbfec6936d8c256e113197ec40
parent3a03c6a602b0ad98bec041bde8859165d8fc5954
[media] em28xx: get rid of the dependency on module ir-kbd-i2c

We already have the key polling functions and the polling infrastructure in
em28xx-input, so we can easily get rid of the dependency on module ir-kbd-i2c.
For maximum safety, do not touch the key reporting mechanism for those devices.
Code size could be improved further but would have minor peformance impacts.
Tested with device "Terratec Cinergy 200 USB" (EM2800_BOARD_TERRATEC_CINERGY_200)

[mchehab@redhat.com: Fix two checkpatch.pl warnings:
 ERROR: "foo * bar" should be "foo *bar" (line 465)
 WARNING: kfree(NULL) is safe this check is probably not required (line 725)]

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
drivers/media/usb/em28xx/em28xx.h