diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-07 05:02:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:41 -0400 |
commit | 8ac05ae3192ce8a71fc84e4a88772cce0c09173c (patch) | |
tree | 997f2d8bbedf857b33bf62d44b9cc4cd8c7a9f73 /drivers/media/video/ivtv/ivtv-gpio.c | |
parent | d7493e518fa98d2c30c545c518df075903bae513 (diff) |
V4L/DVB (10488): ivtv: cleanup naming conventions
Use consistent naming for pci_dev, v4l2_device and video_device.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-gpio.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/ivtv/ivtv-gpio.c b/drivers/media/video/ivtv/ivtv-gpio.c index dc2850e87a7e..3321983d89e5 100644 --- a/drivers/media/video/ivtv/ivtv-gpio.c +++ b/drivers/media/video/ivtv/ivtv-gpio.c | |||
@@ -384,7 +384,7 @@ int ivtv_gpio_init(struct ivtv *itv) | |||
384 | write_reg(itv->card->gpio_init.initial_value | pin, IVTV_REG_GPIO_OUT); | 384 | write_reg(itv->card->gpio_init.initial_value | pin, IVTV_REG_GPIO_OUT); |
385 | write_reg(itv->card->gpio_init.direction | pin, IVTV_REG_GPIO_DIR); | 385 | write_reg(itv->card->gpio_init.direction | pin, IVTV_REG_GPIO_DIR); |
386 | v4l2_subdev_init(&itv->sd_gpio, &subdev_ops); | 386 | v4l2_subdev_init(&itv->sd_gpio, &subdev_ops); |
387 | snprintf(itv->sd_gpio.name, sizeof(itv->sd_gpio.name), "%s-gpio", itv->device.name); | 387 | snprintf(itv->sd_gpio.name, sizeof(itv->sd_gpio.name), "%s-gpio", itv->v4l2_dev.name); |
388 | itv->sd_gpio.grp_id = IVTV_HW_GPIO; | 388 | itv->sd_gpio.grp_id = IVTV_HW_GPIO; |
389 | return v4l2_device_register_subdev(&itv->device, &itv->sd_gpio); | 389 | return v4l2_device_register_subdev(&itv->v4l2_dev, &itv->sd_gpio); |
390 | } | 390 | } |