commit | 2e6911f223824a7f2c924595bef9f0fab4e9a087 | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Tue Jan 12 14:42:37 2016 +0800 |
committer | Hans de Goede <hdegoede@redhat.com> | Tue Jan 26 16:20:05 2016 +0100 |
tree | adab661007148d024d556fb5d5eef791de3784e0 | |
parent | 1c1fbbe43779b180790a6a4af3acf2292def6a4a [diff] |
power: axp: merge separate DLDO functions into 1 Instead of one function for each DLDO regulator, make 1 function that takes an extra "index". Since the control bits for the DLDO regulators are contiguous, this makes the function very simple. This removes a lot of duplicate code. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>