git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'upstream/ticketlock-cleanup' of git://github.com/jsgf/linux-xen into...
[pandora-kernel.git]
/
drivers
/
hwmon
/
max16065.c
diff --git
a/drivers/hwmon/max16065.c
b/drivers/hwmon/max16065.c
index
d94a24f
..
dd2d7b9
100644
(file)
--- a/
drivers/hwmon/max16065.c
+++ b/
drivers/hwmon/max16065.c
@@
-124,7
+124,7
@@
static inline int MV_TO_LIMIT(int mv, int range)
static inline int ADC_TO_CURR(int adc, int gain)
{
- return adc * 1400000 /
gain * 255
;
+ return adc * 1400000 /
(gain * 255)
;
}
/*