CodingStyle fixes based on LKML comments
authorTony Lindgren <tony@atomide.com>
Mon, 16 Apr 2007 18:06:32 +0000 (18:06 +0000)
committerTony Lindgren <tony@atomide.com>
Mon, 16 Apr 2007 18:06:32 +0000 (18:06 +0000)
Changes are mostly:

- No externs in .c files
- Use standard commenting format
- Use standard debug functions or loglevel for printk

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 files changed:
arch/arm/mach-omap1/Kconfig
arch/arm/mach-omap1/board-palmz71.c
arch/arm/mach-omap2/board-n800-audio.c
arch/arm/mach-omap2/board-n800-dsp.c
arch/arm/mach-omap2/board-n800-flash.c
arch/arm/mach-omap2/board-n800-mmc.c
arch/arm/mach-omap2/board-n800-pm.c
arch/arm/mach-omap2/board-n800-usb.c
arch/arm/mach-omap2/board-n800.c
arch/arm/mach-omap2/pm.c
arch/arm/plat-omap/fb.c
arch/arm/plat-omap/sram.c
include/asm-arm/arch-omap/board-nokia.h
include/asm-arm/arch-omap/gpio.h
include/asm-arm/arch-omap/gpmc.h
include/asm-arm/arch-omap/pm.h

index 5a87aa9..72852dc 100644 (file)
@@ -90,13 +90,13 @@ config MACH_OMAP_PALMTE
          Say Y here if you have this PDA model, say N otherwise.
 
 config MACH_OMAP_PALMZ71
-       bool "Palm Zire71"
-       depends on ARCH_OMAP1 && ARCH_OMAP15XX
-       help
-         Support for the Palm Zire71 PDA. To boot the kernel,
-         you'll need a PalmOS compatible bootloader; check out
-         http://hackndev.com/palm/z71 for more informations.
-         Say Y here if you have such a PDA, say N otherwise.
+       bool "Palm Zire71"
+       depends on ARCH_OMAP1 && ARCH_OMAP15XX
+       help
+        Support for the Palm Zire71 PDA. To boot the kernel,
+        you'll need a PalmOS compatible bootloader; check out
+        http://hackndev.com/palm/z71 for more informations.
+        Say Y here if you have such a PDA, say N otherwise.
 
 config MACH_OMAP_PALMTT
        bool "Palm Tungsten|T"
index 3936190..c275d51 100644 (file)
@@ -199,12 +199,12 @@ static struct omap_mcbsp_reg_cfg mcbsp_regs = {
 static struct omap_alsa_codec_config alsa_config = {
        .name                   = "PalmZ71 AIC23",
        .mcbsp_regs_alsa        = &mcbsp_regs,
-       .codec_configure_dev    = NULL,         // aic23_configure,
-       .codec_set_samplerate   = NULL,         // aic23_set_samplerate,
-       .codec_clock_setup      = NULL,         // aic23_clock_setup,
-       .codec_clock_on         = NULL,         // aic23_clock_on,
-       .codec_clock_off        = NULL,         // aic23_clock_off,
-       .get_default_samplerate = NULL,         // aic23_get_default_samplerate,
+       .codec_configure_dev    = NULL, /* aic23_configure */
+       .codec_set_samplerate   = NULL, /* aic23_set_samplerate */
+       .codec_clock_setup      = NULL, /* aic23_clock_setup */
+       .codec_clock_on         = NULL, /* aic23_clock_on */
+       .codec_clock_off        = NULL, /* aic23_clock_off */
+       .get_default_samplerate = NULL, /* aic23_get_default_samplerate */
 };
 
 static struct platform_device palmz71_mcbsp1_device = {
@@ -345,7 +345,7 @@ palmz71_gpio_setup(int early)
                                palmz71_powercable, IRQF_SAMPLE_RANDOM,
                                "palmz71-cable", 0))
                        printk(KERN_ERR
-                              "IRQ request for power cable failed!\n");
+                                       "IRQ request for power cable failed!\n");
                palmz71_powercable(OMAP_GPIO_IRQ(PALMZ71_USBDETECT_GPIO), 0);
        }
 }
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge