Re: [PATCH 16/16] v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

2010-10-03 Thread Mike Isely

For just the pvrusb2 part of the patch series below

Acked-By: Mike Isely is...@pobox.com


On Fri, 24 Sep 2010, Laurent Pinchart wrote:

 The argument isn't used anymore by the functions, remote it.
 
 Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
 ---
  drivers/media/radio/radio-si4713.c|2 +-
  drivers/media/video/au0828/au0828-cards.c |4 ++--
  drivers/media/video/bt8xx/bttv-cards.c|   22 +++---
  drivers/media/video/cafe_ccic.c   |2 +-
  drivers/media/video/cx18/cx18-i2c.c   |8 
  drivers/media/video/cx231xx/cx231xx-cards.c   |4 ++--
  drivers/media/video/cx23885/cx23885-cards.c   |2 +-
  drivers/media/video/cx23885/cx23885-video.c   |4 ++--
  drivers/media/video/cx88/cx88-cards.c |9 -
  drivers/media/video/cx88/cx88-video.c |7 +++
  drivers/media/video/davinci/vpfe_capture.c|1 -
  drivers/media/video/davinci/vpif_capture.c|1 -
  drivers/media/video/davinci/vpif_display.c|2 +-
  drivers/media/video/em28xx/em28xx-cards.c |   18 +-
  drivers/media/video/fsl-viu.c |2 +-
  drivers/media/video/ivtv/ivtv-i2c.c   |   22 +-
  drivers/media/video/mxb.c |   12 ++--
  drivers/media/video/pvrusb2/pvrusb2-hdw.c |6 ++
  drivers/media/video/saa7134/saa7134-cards.c   |8 
  drivers/media/video/saa7134/saa7134-core.c|4 ++--
  drivers/media/video/sh_vou.c  |2 +-
  drivers/media/video/soc_camera.c  |2 +-
  drivers/media/video/usbvision/usbvision-i2c.c |6 +++---
  drivers/media/video/v4l2-common.c |   15 +--
  drivers/media/video/vino.c|4 ++--
  drivers/media/video/zoran/zoran_card.c|5 ++---
  drivers/staging/go7007/go7007-driver.c|2 +-
  drivers/staging/tm6000/tm6000-cards.c |4 ++--
  include/media/v4l2-common.h   |   16 ++--
  29 files changed, 88 insertions(+), 108 deletions(-)
 
 diff --git a/drivers/media/radio/radio-si4713.c 
 b/drivers/media/radio/radio-si4713.c
 index 045b10f..d49c215 100644
 --- a/drivers/media/radio/radio-si4713.c
 +++ b/drivers/media/radio/radio-si4713.c
 @@ -291,7 +291,7 @@ static int radio_si4713_pdriver_probe(struct 
 platform_device *pdev)
   goto unregister_v4l2_dev;
   }
  
 - sd = v4l2_i2c_new_subdev_board(rsdev-v4l2_dev, adapter, NULL,
 + sd = v4l2_i2c_new_subdev_board(rsdev-v4l2_dev, adapter,
   pdata-subdev_board_info, NULL);
   if (!sd) {
   dev_err(pdev-dev, Cannot get v4l2 subdevice\n);
 diff --git a/drivers/media/video/au0828/au0828-cards.c 
 b/drivers/media/video/au0828/au0828-cards.c
 index 0453816..01be89f 100644
 --- a/drivers/media/video/au0828/au0828-cards.c
 +++ b/drivers/media/video/au0828/au0828-cards.c
 @@ -212,7 +212,7 @@ void au0828_card_setup(struct au0828_dev *dev)
  be abstracted out if we ever need to support a different
  demod) */
   sd = v4l2_i2c_new_subdev(dev-v4l2_dev, dev-i2c_adap,
 - NULL, au8522, 0x8e  1, NULL);
 + au8522, 0x8e  1, NULL);
   if (sd == NULL)
   printk(KERN_ERR analog subdev registration failed\n);
   }
 @@ -221,7 +221,7 @@ void au0828_card_setup(struct au0828_dev *dev)
   if (dev-board.tuner_type != TUNER_ABSENT) {
   /* Load the tuner module, which does the attach */
   sd = v4l2_i2c_new_subdev(dev-v4l2_dev, dev-i2c_adap,
 - NULL, tuner, dev-board.tuner_addr, NULL);
 + tuner, dev-board.tuner_addr, NULL);
   if (sd == NULL)
   printk(KERN_ERR tuner subdev registration fail\n);
  
 diff --git a/drivers/media/video/bt8xx/bttv-cards.c 
 b/drivers/media/video/bt8xx/bttv-cards.c
 index 87d8b00..49efcf6 100644
 --- a/drivers/media/video/bt8xx/bttv-cards.c
 +++ b/drivers/media/video/bt8xx/bttv-cards.c
 @@ -3529,7 +3529,7 @@ void __devinit bttv_init_card2(struct bttv *btv)
   struct v4l2_subdev *sd;
  
   sd = v4l2_i2c_new_subdev(btv-c.v4l2_dev,
 - btv-c.i2c_adap, NULL, saa6588, 0, addrs);
 + btv-c.i2c_adap, saa6588, 0, addrs);
   btv-has_saa6588 = (sd != NULL);
   }
  
 @@ -3554,7 +3554,7 @@ void __devinit bttv_init_card2(struct bttv *btv)
   };
  
   btv-sd_msp34xx = v4l2_i2c_new_subdev(btv-c.v4l2_dev,
 - btv-c.i2c_adap, NULL, msp3400, 0, addrs);
 + btv-c.i2c_adap, msp3400, 0, addrs);
   if (btv-sd_msp34xx)
   return;
   goto no_audio;
 @@ -3568,7 +3568,7 @@ void __devinit 

[PATCH 16/16] v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

2010-09-24 Thread Laurent Pinchart
The argument isn't used anymore by the functions, remote it.

Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
 drivers/media/radio/radio-si4713.c|2 +-
 drivers/media/video/au0828/au0828-cards.c |4 ++--
 drivers/media/video/bt8xx/bttv-cards.c|   22 +++---
 drivers/media/video/cafe_ccic.c   |2 +-
 drivers/media/video/cx18/cx18-i2c.c   |8 
 drivers/media/video/cx231xx/cx231xx-cards.c   |4 ++--
 drivers/media/video/cx23885/cx23885-cards.c   |2 +-
 drivers/media/video/cx23885/cx23885-video.c   |4 ++--
 drivers/media/video/cx88/cx88-cards.c |9 -
 drivers/media/video/cx88/cx88-video.c |7 +++
 drivers/media/video/davinci/vpfe_capture.c|1 -
 drivers/media/video/davinci/vpif_capture.c|1 -
 drivers/media/video/davinci/vpif_display.c|2 +-
 drivers/media/video/em28xx/em28xx-cards.c |   18 +-
 drivers/media/video/fsl-viu.c |2 +-
 drivers/media/video/ivtv/ivtv-i2c.c   |   22 +-
 drivers/media/video/mxb.c |   12 ++--
 drivers/media/video/pvrusb2/pvrusb2-hdw.c |6 ++
 drivers/media/video/saa7134/saa7134-cards.c   |8 
 drivers/media/video/saa7134/saa7134-core.c|4 ++--
 drivers/media/video/sh_vou.c  |2 +-
 drivers/media/video/soc_camera.c  |2 +-
 drivers/media/video/usbvision/usbvision-i2c.c |6 +++---
 drivers/media/video/v4l2-common.c |   15 +--
 drivers/media/video/vino.c|4 ++--
 drivers/media/video/zoran/zoran_card.c|5 ++---
 drivers/staging/go7007/go7007-driver.c|2 +-
 drivers/staging/tm6000/tm6000-cards.c |4 ++--
 include/media/v4l2-common.h   |   16 ++--
 29 files changed, 88 insertions(+), 108 deletions(-)

diff --git a/drivers/media/radio/radio-si4713.c 
b/drivers/media/radio/radio-si4713.c
index 045b10f..d49c215 100644
--- a/drivers/media/radio/radio-si4713.c
+++ b/drivers/media/radio/radio-si4713.c
@@ -291,7 +291,7 @@ static int radio_si4713_pdriver_probe(struct 
platform_device *pdev)
goto unregister_v4l2_dev;
}
 
-   sd = v4l2_i2c_new_subdev_board(rsdev-v4l2_dev, adapter, NULL,
+   sd = v4l2_i2c_new_subdev_board(rsdev-v4l2_dev, adapter,
pdata-subdev_board_info, NULL);
if (!sd) {
dev_err(pdev-dev, Cannot get v4l2 subdevice\n);
diff --git a/drivers/media/video/au0828/au0828-cards.c 
b/drivers/media/video/au0828/au0828-cards.c
index 0453816..01be89f 100644
--- a/drivers/media/video/au0828/au0828-cards.c
+++ b/drivers/media/video/au0828/au0828-cards.c
@@ -212,7 +212,7 @@ void au0828_card_setup(struct au0828_dev *dev)
   be abstracted out if we ever need to support a different
   demod) */
sd = v4l2_i2c_new_subdev(dev-v4l2_dev, dev-i2c_adap,
-   NULL, au8522, 0x8e  1, NULL);
+   au8522, 0x8e  1, NULL);
if (sd == NULL)
printk(KERN_ERR analog subdev registration failed\n);
}
@@ -221,7 +221,7 @@ void au0828_card_setup(struct au0828_dev *dev)
if (dev-board.tuner_type != TUNER_ABSENT) {
/* Load the tuner module, which does the attach */
sd = v4l2_i2c_new_subdev(dev-v4l2_dev, dev-i2c_adap,
-   NULL, tuner, dev-board.tuner_addr, NULL);
+   tuner, dev-board.tuner_addr, NULL);
if (sd == NULL)
printk(KERN_ERR tuner subdev registration fail\n);
 
diff --git a/drivers/media/video/bt8xx/bttv-cards.c 
b/drivers/media/video/bt8xx/bttv-cards.c
index 87d8b00..49efcf6 100644
--- a/drivers/media/video/bt8xx/bttv-cards.c
+++ b/drivers/media/video/bt8xx/bttv-cards.c
@@ -3529,7 +3529,7 @@ void __devinit bttv_init_card2(struct bttv *btv)
struct v4l2_subdev *sd;
 
sd = v4l2_i2c_new_subdev(btv-c.v4l2_dev,
-   btv-c.i2c_adap, NULL, saa6588, 0, addrs);
+   btv-c.i2c_adap, saa6588, 0, addrs);
btv-has_saa6588 = (sd != NULL);
}
 
@@ -3554,7 +3554,7 @@ void __devinit bttv_init_card2(struct bttv *btv)
};
 
btv-sd_msp34xx = v4l2_i2c_new_subdev(btv-c.v4l2_dev,
-   btv-c.i2c_adap, NULL, msp3400, 0, addrs);
+   btv-c.i2c_adap, msp3400, 0, addrs);
if (btv-sd_msp34xx)
return;
goto no_audio;
@@ -3568,7 +3568,7 @@ void __devinit bttv_init_card2(struct bttv *btv)
};
 
if (v4l2_i2c_new_subdev(btv-c.v4l2_dev,
-   btv-c.i2c_adap, NULL, tda7432, 0, addrs))
+