Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208627
b: refs/heads/master
c: 556a460
h: refs/heads/master
i:
  208625: 45132c4
  208623: 1909508
v: v3
  • Loading branch information
Christoph Egger authored and Eric Miao committed Aug 5, 2010
1 parent 03d56e0 commit 70f0af6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 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: 8ae807c581338bc7d0b870bfb4c8caac3772ca64
refs/heads/master: 556a460e5d99eddc1a37bf689108d14f5d7e7668
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-pxa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,6 @@ config SHARPSL_PM

config SHARPSL_PM_MAX1111
bool
depends on !CORGI_SSP_DEPRECATED
select HWMON
select SENSORS_MAX1111

Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/arm/mach-pxa/sharpsl_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,17 +180,12 @@ int sharpsl_pm_pxa_read_max1111(int channel)
if (machine_is_tosa())
return 0;

#ifdef CONFIG_CORGI_SSP_DEPRECATED
return corgi_ssp_max1111_get((channel << MAXCTRL_SEL_SH) | MAXCTRL_PD0 | MAXCTRL_PD1
| MAXCTRL_SGL | MAXCTRL_UNI | MAXCTRL_STR);
#else
extern int max1111_read_channel(int);

/* max1111 accepts channels from 0-3, however,
* it is encoded from 0-7 here in the code.
*/
return max1111_read_channel(channel >> 1);
#endif
}

static int get_percentage(int voltage)
Expand Down

0 comments on commit 70f0af6

Please sign in to comment.