[linux-dvb] Patch 5 / 50: code cleanup for bttvdriver

Uwe Bugla uwe.bugla at gmx.de
Fri Jun 23 16:38:22 CEST 2006


#Applies against: 2.6.17
#Signed-off-by: Uwe Bugla <uwe.bugla at gmx.de>
#Changes: wipe out uncommented material
--- a/drivers/media/video/bt8xx/bttv-driver.c	2006-05-27 14:03:00
+++ b/drivers/media/video/bt8xx/bttv-driver.c	2006-05-29 21:16:00
@@ -842,10 +842,7 @@
 static void bt848_bright(struct bttv *btv, int bright)
 {
 	int value;
-
-	// printk("bttv: set bright: %d\n",bright); // DEBUG
 	btv->bright = bright;
-
 	/* We want -128 to 127 we get 0-65535 */
 	value = (bright >> 8) - 128;
 	btwrite(value & 0xff, BT848_BRIGHT);
@@ -4316,12 +4313,5 @@
 	bus_unregister(&bttv_sub_bus_type);
 	return;
 }
-
 module_init(bttv_init_module);
 module_exit(bttv_cleanup_module);
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



More information about the linux-dvb mailing list