From: Janne Grunau <j@jannau.net>
To: linux-media@vger.kernel.org
Cc: Steven Toth <stoth@linuxtv.org>
Subject: [PATCH 5 of 6] au0828: use usb_interface.dev for v4l2_device_register
Date: Sun, 29 Mar 2009 14:42:51 +0200 [thread overview]
Message-ID: <20090329124251.GF637@aniel> (raw)
In-Reply-To: <patchbomb.1238329154@aniel>
[-- Attachment #1: v4l2_device_usb_interface-5.patch --]
[-- Type: text/x-patch, Size: 1048 bytes --]
# HG changeset patch
# User Janne Grunau <j@jannau.net>
# Date 1238191025 -3600
# Node ID 16016db934ee03d0156754b8e07d4212c933d234
# Parent 210007cef5bdef2364590755a2b7ab219534db16
au0828: use usb_interface.dev for v4l2_device_register
From: Janne Grunau <j@jannau.net>
removes the explicitly set v4l2_device.name
Priority: normal
Signed-off-by: Janne Grunau <j@jannau.net>
diff -r 210007cef5bd -r 16016db934ee linux/drivers/media/video/au0828/au0828-core.c
--- a/linux/drivers/media/video/au0828/au0828-core.c Fri Mar 27 22:54:45 2009 +0100
+++ b/linux/drivers/media/video/au0828/au0828-core.c Fri Mar 27 22:57:05 2009 +0100
@@ -199,9 +199,7 @@
/* Create the v4l2_device */
i = atomic_inc_return(&au0828_instance) - 1;
- snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), "%s-%03d",
- "au0828", i);
- retval = v4l2_device_register(&dev->usbdev->dev, &dev->v4l2_dev);
+ retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev);
if (retval) {
printk(KERN_ERR "%s() v4l2_device_register failed\n",
__func__);
next prev parent reply other threads:[~2009-03-29 12:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <patchbomb.1238329154@aniel>
2009-03-29 12:37 ` [PATCH 1 of 6] v4l: use usb_interface for v4l2_device_register Janne Grunau
2009-03-29 12:40 ` [PATCH 2 of 6] cx321xx: use usb_interface.dev " Janne Grunau
2009-03-29 12:41 ` [PATCH 3 of 6] usbvision: " Janne Grunau
2009-03-29 12:42 ` [PATCH 4 of 6] pvrusb2: " Janne Grunau
2009-03-29 12:42 ` Janne Grunau [this message]
2009-03-29 13:44 ` [PATCH 5 of 6] au0828: " Devin Heitmueller
2009-03-29 15:04 ` Janne Grunau
2009-03-29 12:43 ` [PATCH 6 of 6] w9968cf: " Janne Grunau
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=20090329124251.GF637@aniel \
--to=j@jannau.net \
--cc=linux-media@vger.kernel.org \
--cc=stoth@linuxtv.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.