Really clean up, as promised in 1350d5dfaac7dadf6cab9e812f0acfabcce60e58
authorWerner Almesberger <werner@openmoko.org>
Thu, 26 Mar 2009 05:03:46 +0000 (02:03 -0300)
committerWerner Almesberger <werner@openmoko.org>
Thu, 26 Mar 2009 05:03:46 +0000 (02:03 -0300)
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Reported-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
drivers/power/pcf50606-charger.c

index fb02a79..4f94b10 100644 (file)
@@ -36,13 +36,14 @@ struct pcf50606_mbc {
 void pcf50606_charge_fast(struct pcf50606 *pcf, int on)
 {
        struct pcf50606_mbc *mbc = platform_get_drvdata(pcf->mbc_pdev);
-       /* this is a fix to work around boot-time ordering problems if
-       * the s3c2410_udc is initialized before the pcf50606 mbc is
-       * ready */
+
+       /*
+        * This is a fix to work around boot-time ordering problems if
+        * the s3c2410_udc is initialized before the pcf50606 mbc is
+        * ready.
+        */
        if (!mbc)
-       {
                return;
-       }
 
        if (on) {
                pcf50606_reg_set_bit_mask(pcf, PCF50606_REG_MBCC1,