public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexey Klimov <klimov.linux@gmail.com>
To: Jean-Francois Moine <moinejf@free.fr>
Cc: video4linux-list@redhat.com
Subject: [PATCH] gspca: t613 - small codingstyle fix
Date: Thu, 01 Jan 2009 10:58:31 +0300	[thread overview]
Message-ID: <1230796711.5124.18.camel@tux.localhost> (raw)

Lets make usb_driver and sd_desc looks nicer.


Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>

---
diff -r 6f3948c174c1 linux/drivers/media/video/gspca/t613.c
--- a/linux/drivers/media/video/gspca/t613.c	Wed Dec 31 18:33:53 2008 +0100
+++ b/linux/drivers/media/video/gspca/t613.c	Thu Jan 01 09:55:54 2009 +0300
@@ -1135,15 +1135,15 @@
 
 /* sub-driver description */
 static const struct sd_desc sd_desc = {
-	.name = MODULE_NAME,
-	.ctrls = sd_ctrls,
-	.nctrls = ARRAY_SIZE(sd_ctrls),
-	.config = sd_config,
-	.init = sd_init,
-	.start = sd_start,
-	.stopN = sd_stopN,
-	.pkt_scan = sd_pkt_scan,
-	.querymenu = sd_querymenu,
+	.name		= MODULE_NAME,
+	.ctrls		= sd_ctrls,
+	.nctrls		= ARRAY_SIZE(sd_ctrls),
+	.config		= sd_config,
+	.init		= sd_init,
+	.start		= sd_start,
+	.stopN		= sd_stopN,
+	.pkt_scan	= sd_pkt_scan,
+	.querymenu	= sd_querymenu,
 };
 
 /* -- module initialisation -- */
@@ -1162,13 +1162,13 @@
 }
 
 static struct usb_driver sd_driver = {
-	.name = MODULE_NAME,
-	.id_table = device_table,
-	.probe = sd_probe,
-	.disconnect = gspca_disconnect,
+	.name		= MODULE_NAME,
+	.id_table	= device_table,
+	.probe		= sd_probe,
+	.disconnect	= gspca_disconnect,
 #ifdef CONFIG_PM
-	.suspend = gspca_suspend,
-	.resume = gspca_resume,
+	.suspend	= gspca_suspend,
+	.resume		= gspca_resume,
 #endif
 };
 


-- 
Best regards, Klimov Alexey

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

                 reply	other threads:[~2009-01-01  7:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1230796711.5124.18.camel@tux.localhost \
    --to=klimov.linux@gmail.com \
    --cc=moinejf@free.fr \
    --cc=video4linux-list@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox