From c09088d934c1e1672be8b3cfe3ba4f40ab2bf13e Mon Sep 17 00:00:00 2001 From: Anthony Olech Date: Wed, 18 Dec 2013 15:15:31 +0000 Subject: [PATCH] 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-format-patch failed