[pkg-fso-commits] [SCM] linux-2.6-openmoko, the Linux 2.6 kernel tree from Openmoko branch, andy-tracking, updated. upstream/20090303.gitb9de904e-140-g23b564c

Werner Almesberger werner at openmoko.org
Mon Jun 8 17:29:51 UTC 2009


The following commit has been merged in the andy-tracking branch:
commit 49d7b6aa6666d31b6ca7476f9dcb9209d141ae1c
Author: Werner Almesberger <werner at openmoko.org>
Date:   Thu Mar 26 02:03:46 2009 -0300

    Really clean up, as promised in 1350d5dfaac7dadf6cab9e812f0acfabcce60e58
    
    Signed-off-by: Werner Almesberger <werner at openmoko.org>
    Reported-by: Tim Niemeyer <tim.niemeyer at mastersword.de>

diff --git a/drivers/power/pcf50606-charger.c b/drivers/power/pcf50606-charger.c
index fb02a79..4f94b10 100644
--- a/drivers/power/pcf50606-charger.c
+++ b/drivers/power/pcf50606-charger.c
@@ -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,

-- 
linux-2.6-openmoko, the Linux 2.6 kernel tree from Openmoko



More information about the pkg-fso-commits mailing list