Skip to content

Commit

Permalink
twl4030_charger: Fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
  • Loading branch information
NeilBrown authored and Anton Vorontsov committed Jun 20, 2012
1 parent 5fc55bc commit 9c645d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/power/twl4030_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -151,14 +151,14 @@ 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)
{
int ret;

if (enable) {
/* Check for USB charger conneted */
/* Check for USB charger connected */
if (!twl4030_bci_have_vbus(bci))
return -ENODEV;

Expand Down

0 comments on commit 9c645d2

Please sign in to comment.