From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: unlisted-recipients:; (no To-header on input)@bombadil.infradead.org
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: [PATCH 0/3] get rid of i2c_adapter.id on ir-kbd-i2c
Date: Thu, 23 Sep 2010 01:32:57 -0300 [thread overview]
Message-ID: <20100923013257.299fceb9@pedra> (raw)
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(-)
reply other threads:[~2010-09-23 4:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100923013257.299fceb9@pedra \
--to=mchehab@redhat.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.