From: Axel Lin Date: Mon, 12 Mar 2012 07:57:50 +0000 (+0800) Subject: regulator: Refactor tps6507x to use one tps6507x_pmic_ops for all LDOs and DCDCs X-Git-Tag: v3.4-rc1~168^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2933d333118bff82e4b46fff605e31f799df5ce;p=pandora-kernel.git regulator: Refactor tps6507x to use one tps6507x_pmic_ops for all LDOs and DCDCs All the callback functions implementation for DCDCx and LDOx are very similar, I think it is ok to use one tps6507x_pmic_ops for all LDOs and DCDCs. This refactor removes a couple of duplicated code. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed