From: Axel Lin Date: Wed, 14 Mar 2012 02:18:45 +0000 (+0800) Subject: regulator: Use tps65912_set_voltage_sel for both DCDCx and LDOx X-Git-Tag: v3.4-rc1~168^2~4^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=831c986f5dfc9f29f5237697029f7faf24521413;p=pandora-kernel.git regulator: Use tps65912_set_voltage_sel for both DCDCx and LDOx commit 42b5ef "regulator: tps65912: Use simple equations to get register address" uses tps65912_get_sel_register to replace tps65912_get_dcdc_sel_register and tps65912_get_ldo_sel_register. Now tps65912_set_voltage_dcdc_sel and tps65912_set_voltage_ldo_sel has exactly the same implementation. Merge them to tps65912_set_voltage_sel function. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed