summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm63.c
diff options
context:
space:
mode:
authorAnthony Olech <anthony.olech.opensource@diasemi.com>2013-12-18 16:15:31 +0100
committerGuenter Roeck <linux@roeck-us.net>2014-01-15 06:36:31 +0100
commitc09088d934c1e1672be8b3cfe3ba4f40ab2bf13e (patch)
treeccecdb9e0c835bb9d36e6b800eed08f9fd9eb713 /drivers/hwmon/lm63.c
parenthwmon: (coretemp) Refine TjMax detection (diff)
downloadlinux-c09088d934c1e1672be8b3cfe3ba4f40ab2bf13e.tar.xz
linux-c09088d934c1e1672be8b3cfe3ba4f40ab2bf13e.zip
hwmon: (da9052) Fix adc to voltage calculation
The ADC resolution of the PMIC is 10-bits, this means that the maximum possible value is 1023 and not the 1024 as originally in the code. Signed-off-by: Anthony Olech <anthony.olech.opensource@diasemi.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/lm63.c')
0 files changed, 0 insertions, 0 deletions