[PATCH 0/3] get rid of i2c_adapter.id on ir-kbd-i2c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ir-kdb-i2c needs to check what device called it, just because of two
places where this information is used:

1) to fill the structs for Hauppauge XDR remotes on cx88 driver;
2) to set the polling interval for one saa7134 board.

On both cases, the better is to just move the initialization to the
caller driver.

While on it, move PV951 to bttv driver, as only bttv driver defines
a board with this name, and put the RC init code inside bttv-input,
for bttv driver, and on cx88-input, for cx88 driver, in order to
have all RC code together.

This will help when porting the drivers to RC core, as we won't forget
the ir-kbd-i2c case.

Mauro Carvalho Chehab (3):
  V4L/DVB: bttv: Move PV951 IR to the right driver
  V4L/DVB: Remove the usage of I2C_HW_B_CX2388x on ir-kbd-i2c.c
  V4L/DVB: saa7134: get rid of I2C_HW_SAA7134

 drivers/media/video/bt8xx/bttv-i2c.c        |   38 ------------
 drivers/media/video/bt8xx/bttv-input.c      |   84 ++++++++++++++++++++++++--
 drivers/media/video/bt8xx/bttv.h            |    1 -
 drivers/media/video/bt8xx/bttvp.h           |   13 +++-
 drivers/media/video/cx88/cx88-i2c.c         |   38 ------------
 drivers/media/video/cx88/cx88-input.c       |   51 +++++++++++++++--
 drivers/media/video/cx88/cx88.h             |   15 ++---
 drivers/media/video/ir-kbd-i2c.c            |   60 ++-----------------
 drivers/media/video/saa7134/saa7134-i2c.c   |    1 -
 drivers/media/video/saa7134/saa7134-input.c |    5 ++
 include/media/ir-kbd-i2c.h                  |   10 ++-
 11 files changed, 155 insertions(+), 161 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux