media: merge ir_tx_z8f0811_haup and ir_rx_z8f0811_haup i2c devices

These two devices ids are really just one device with multiple
addresses. Probing becomes much simpler if we simply fold this into
one i2c device with two address.

Note that this breaks the lirc_zilog driver, however we will teach
ir-kbd-i2c to do what lirc_zilog does in a later commit.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Sean Young
2017-10-12 18:02:57 -04:00
committed by Mauro Carvalho Chehab
parent a6927d81c0
commit ab5222ed16
9 changed files with 30 additions and 87 deletions

View File

@@ -501,8 +501,8 @@ static const struct i2c_device_id ir_kbd_id[] = {
/* Generic entry for any IR receiver */
{ "ir_video", 0 },
/* IR device specific entries should be added here */
{ "ir_rx_z8f0811_haup", 0 },
{ "ir_rx_z8f0811_hdpvr", 0 },
{ "ir_z8f0811_haup", 0 },
{ "ir_z8f0811_hdpvr", 0 },
{ }
};