diff options
author | Devin Heitmueller <dheitmueller@hauppauge.com> | 2010-08-18 18:10:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-20 23:17:32 -0400 |
commit | b522591a4580b54430873784e1b956646d7970d9 (patch) | |
tree | 209717fda3943d6e45041278c27f3569474f53b7 /drivers/media/video/cx231xx/cx231xx-i2c.c | |
parent | 2b43db320eba4d5ceba5804c38afa21e65f83016 (diff) |
[media] cx231xx: remove i2c ir stubs
Nobody is ever going to implement an i2c based IR controller on a bridge that
has an onboard universal IR receiver. This stuff was all copied from em28xx,
which has old enough versions of the chip that some didn't have onboard IR.
Remove the stubs related to i2c based IR (keeping the cx231xx-input code).
Signed-off-by: Devin Heitmueller <dheitmueller@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx-i2c.c')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-i2c.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-i2c.c b/drivers/media/video/cx231xx/cx231xx-i2c.c index d64bc7c21c20..cce74e5a305b 100644 --- a/drivers/media/video/cx231xx/cx231xx-i2c.c +++ b/drivers/media/video/cx231xx/cx231xx-i2c.c | |||
@@ -509,9 +509,6 @@ int cx231xx_i2c_register(struct cx231xx_i2c *bus) | |||
509 | if (0 == bus->i2c_rc) { | 509 | if (0 == bus->i2c_rc) { |
510 | if (i2c_scan) | 510 | if (i2c_scan) |
511 | cx231xx_do_i2c_scan(dev, &bus->i2c_client); | 511 | cx231xx_do_i2c_scan(dev, &bus->i2c_client); |
512 | |||
513 | /* Instantiate the IR receiver device, if present */ | ||
514 | cx231xx_register_i2c_ir(dev); | ||
515 | } else | 512 | } else |
516 | cx231xx_warn("%s: i2c bus %d register FAILED\n", | 513 | cx231xx_warn("%s: i2c bus %d register FAILED\n", |
517 | dev->name, bus->nr); | 514 | dev->name, bus->nr); |