aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/power/pcf50606-charger.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/power/pcf50606-charger.c b/drivers/power/pcf50606-charger.c
index fb02a798903..4f94b103c28 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,