Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231102
b: refs/heads/master
c: c84ff1c
h: refs/heads/master
v: v3
  • Loading branch information
Nishanth Menon authored and Kevin Hilman committed Jan 7, 2011
1 parent ef2d39f commit e67e560
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0eadf6d10923a46609b682bb12657fdfc1afc18
refs/heads/master: c84ff1cc48fa41ea1b86f76f61dd4767f1adb0cd
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-omap2/omap_twl.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ static u8 smps_offset;

#define REG_SMPS_OFFSET 0xE0

unsigned long twl4030_vsel_to_uv(const u8 vsel)
static unsigned long twl4030_vsel_to_uv(const u8 vsel)
{
return (((vsel * 125) + 6000)) * 100;
}

u8 twl4030_uv_to_vsel(unsigned long uv)
static u8 twl4030_uv_to_vsel(unsigned long uv)
{
return DIV_ROUND_UP(uv - 600000, 12500);
}

unsigned long twl6030_vsel_to_uv(const u8 vsel)
static unsigned long twl6030_vsel_to_uv(const u8 vsel)
{
/*
* In TWL6030 depending on the value of SMPS_OFFSET
Expand Down Expand Up @@ -102,7 +102,7 @@ unsigned long twl6030_vsel_to_uv(const u8 vsel)
return ((((vsel - 1) * 125) + 6000)) * 100;
}

u8 twl6030_uv_to_vsel(unsigned long uv)
static u8 twl6030_uv_to_vsel(unsigned long uv)
{
/*
* In TWL6030 depending on the value of SMPS_OFFSET
Expand Down

0 comments on commit e67e560

Please sign in to comment.