aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-cards.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-09-24 06:58:29 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-22 19:50:56 -0400
commit1532a07042289d420f040f3bd4370cc106860003 (patch)
tree56439e9ac91090038d50435f34afa06e8a4f2785 /drivers/media/video/cx88/cx88-cards.c
parente9f0495a25e37a3bc60c42fbfe3b31a47b91b7ad (diff)
[media] v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev*
With the v4l2_i2c_new_subdev* functions now supporting loading modules based on modaliases, replace the hardcoded module name passed to those functions by NULL. All corresponding I2C modules have been checked, and all of them include a module aliases table with names corresponding to what the drivers modified here use. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88/cx88-cards.c')
-rw-r--r--drivers/media/video/cx88/cx88-cards.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c
index f220fa2e10d8..7bfe330a8167 100644
--- a/drivers/media/video/cx88/cx88-cards.c
+++ b/drivers/media/video/cx88/cx88-cards.c
@@ -3508,19 +3508,19 @@ struct cx88_core *cx88_core_create(struct pci_dev *pci, int nr)
3508 later code configures a tea5767. 3508 later code configures a tea5767.
3509 */ 3509 */
3510 v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap, 3510 v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap,
3511 "tuner", "tuner", 3511 NULL, "tuner",
3512 0, v4l2_i2c_tuner_addrs(ADDRS_RADIO)); 3512 0, v4l2_i2c_tuner_addrs(ADDRS_RADIO));
3513 if (has_demod) 3513 if (has_demod)
3514 v4l2_i2c_new_subdev(&core->v4l2_dev, 3514 v4l2_i2c_new_subdev(&core->v4l2_dev,
3515 &core->i2c_adap, "tuner", "tuner", 3515 &core->i2c_adap, NULL, "tuner",
3516 0, v4l2_i2c_tuner_addrs(ADDRS_DEMOD)); 3516 0, v4l2_i2c_tuner_addrs(ADDRS_DEMOD));
3517 if (core->board.tuner_addr == ADDR_UNSET) { 3517 if (core->board.tuner_addr == ADDR_UNSET) {
3518 v4l2_i2c_new_subdev(&core->v4l2_dev, 3518 v4l2_i2c_new_subdev(&core->v4l2_dev,
3519 &core->i2c_adap, "tuner", "tuner", 3519 &core->i2c_adap, NULL, "tuner",
3520 0, has_demod ? tv_addrs + 4 : tv_addrs); 3520 0, has_demod ? tv_addrs + 4 : tv_addrs);
3521 } else { 3521 } else {
3522 v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap, 3522 v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap,
3523 "tuner", "tuner", core->board.tuner_addr, NULL); 3523 NULL, "tuner", core->board.tuner_addr, NULL);
3524 } 3524 }
3525 } 3525 }
3526 3526