Fix apparent typos in twl4030_charger.c
authorNeilBrown <neilb@suse.de>
Mon, 21 Nov 2011 09:17:14 +0000 (20:17 +1100)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 Jan 2012 17:03:56 +0000 (19:03 +0200)
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/power/twl4030_charger.c

index 54b9198..19b49d6 100644 (file)
@@ -103,7 +103,7 @@ static int twl4030_bci_read(u8 reg, u8 *val)
 
 static int twl4030_clear_set_boot_bci(u8 clear, u8 set)
 {
-       return twl4030_clear_set(TWL4030_MODULE_PM_MASTER, 0,
+       return twl4030_clear_set(TWL4030_MODULE_PM_MASTER, clear,
                        TWL4030_CONFIG_DONE | TWL4030_BCIAUTOWEN | set,
                        TWL4030_PM_MASTER_BOOT_BCI);
 }
@@ -151,7 +151,7 @@ static int twl4030_bci_have_vbus(struct twl4030_bci *bci)
 }
 
 /*
- * Enable/Disable USB Charge funtionality.
+ * Enable/Disable USB Charge functionality.
  */
 static int twl4030_charger_enable_usb(struct twl4030_bci *bci, bool enable)
 {