From: Alexandre Belloni Date: Wed, 16 Oct 2013 14:08:31 +0000 (+0200) Subject: bq2415x_charger: Fix max battery regulation voltage X-Git-Tag: v3.13-rc1~45^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ed5cd79b82e9a055e0df3275eeb471ea0f1e2d7;p=pandora-kernel.git bq2415x_charger: Fix max battery regulation voltage As per the datasheets, maximum battery regulation voltage is 4440mV. The formula is (voltage - offset) / step, so the maximum value is: (4440 - 3500) / 20 = 47 Signed-off-by: Alexandre Belloni Thanks-to: Pali Rohár Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed