V4L/DVB: ir-kbd-i2c: remove obsolete I2C_HW_B_CX2341X test
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 15 Sep 2010 19:16:20 +0000 (16:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:05 +0000 (01:06 -0200)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ir-kbd-i2c.c

index 27ae8bbfb4777b4909afdd48e839c33359b39c93..ece6e15e4c07b536773bf5e7f72a999937820111 100644 (file)
@@ -354,11 +354,9 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id)
        case 0x0b:
        case 0x47:
        case 0x71:
-               if (adap->id == I2C_HW_B_CX2388x ||
-                   adap->id == I2C_HW_B_CX2341X) {
+               if (adap->id == I2C_HW_B_CX2388x) {
                        /* Handled by cx88-input */
-                       name = adap->id == I2C_HW_B_CX2341X ? "CX2341x remote"
-                                                           : "CX2388x remote";
+                       name = "CX2388x remote";
                        ir_type     = IR_TYPE_RC5;
                        ir->get_key = get_key_haup_xvr;
                        if (hauppauge == 1) {