[linux-dvb] Patch 29 / 50: code cleanup for msp3400driver

Uwe Bugla uwe.bugla at gmx.de
Fri Jun 23 17:21:25 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/msp3400-driver.c	2006-05-27 14:03:00
+++ b/drivers/media/video/msp3400-driver.c	2006-05-29 22:27:00
@@ -1051,14 +1051,5 @@
 {
 	i2c_del_driver(&i2c_driver);
 }
-
 module_init(msp3400_init_module);
 module_exit(msp3400_cleanup_module);
-
-/*
- * Overrides for Emacs so that we follow Linus's tabbing style.
- * ---------------------------------------------------------------------------
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
--- a/drivers/media/video/msp3400-driver.h	2006-05-27 14:03:00
+++ b/drivers/media/video/msp3400-driver.h	2006-05-29 22:27:00
@@ -1,17 +1,9 @@
-/*
- */
-
 #ifndef MSP3400_DRIVER_H
 #define MSP3400_DRIVER_H
-
 #include <media/msp3400.h>
-
-/* ---------------------------------------------------------------------- */
-
 /* This macro is allowed for *constants* only, gcc must calculate it
    at compile time.  Remember -- no floats in kernel mode */
 #define MSP_CARRIER(freq) ((int)((float)(freq / 18.432) * (1 << 24)))
-
 #define MSP_MODE_AM_DETECT   0
 #define MSP_MODE_FM_RADIO    2
 #define MSP_MODE_FM_TERRA    3

-- 


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