From: Anthony Olech Date: Wed, 18 Dec 2013 15:15:31 +0000 (+0000) Subject: hwmon: (da9052) Fix adc to voltage calculation X-Git-Tag: v3.14-rc1~179^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c09088d934c1e1672be8b3cfe3ba4f40ab2bf13e;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed