[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)
commit768da3dbcf50b697e5e7a921492b7f0d2cd8a8fb
tree35dcf06751ac0ecbfec6936d8c256e113197ec40
parent62ec3f86ff86483ae27b9411179b8ded74558c19
[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
This page took 0.107135 seconds and 5 git commands to generate.