public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gspca: t613 - small codingstyle fix
@ 2009-01-01  7:58 Alexey Klimov
  0 siblings, 0 replies; only message in thread
From: Alexey Klimov @ 2009-01-01  7:58 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: video4linux-list

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-01  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-01  7:58 [PATCH] gspca: t613 - small codingstyle fix Alexey Klimov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox