aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-video.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/cx23885/cx23885-video.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/cx23885/cx23885-video.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/cx23885-video.c b/drivers/media/video/cx23885/cx23885-video.c
index 3173cc69ac61..93af9c65b484 100644
--- a/drivers/media/video/cx23885/cx23885-video.c
+++ b/drivers/media/video/cx23885/cx23885-video.c
@@ -1512,11 +1512,11 @@ int cx23885_video_register(struct cx23885_dev *dev)
1512 if (dev->tuner_addr) 1512 if (dev->tuner_addr)
1513 sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, 1513 sd = v4l2_i2c_new_subdev(&dev->v4l2_dev,
1514 &dev->i2c_bus[1].i2c_adap, 1514 &dev->i2c_bus[1].i2c_adap,
1515 "tuner", "tuner", dev->tuner_addr, NULL); 1515 NULL, "tuner", dev->tuner_addr, NULL);
1516 else 1516 else
1517 sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, 1517 sd = v4l2_i2c_new_subdev(&dev->v4l2_dev,
1518 &dev->i2c_bus[1].i2c_adap, 1518 &dev->i2c_bus[1].i2c_adap, NULL,
1519 "tuner", "tuner", 0, v4l2_i2c_tuner_addrs(ADDRS_TV)); 1519 "tuner", 0, v4l2_i2c_tuner_addrs(ADDRS_TV));
1520 if (sd) { 1520 if (sd) {
1521 struct tuner_setup tun_setup; 1521 struct tuner_setup tun_setup;
1522 1522