summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/tps65910-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-03-13 06:40:48 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-13 23:19:34 +0000
commit42b5efe4f9aa40b3b0a20149fd7357d9d6c96959 (patch)
tree7282449043edf9ef4bd22efdc5068126063d9448 /drivers/regulator/tps65910-regulator.c
parent585993932ccc44ab6a8c6dc590a2f3d6b2facb41 (diff)
downloadlinux-42b5efe4f9aa40b3b0a20149fd7357d9d6c96959.tar.gz
linux-42b5efe4f9aa40b3b0a20149fd7357d9d6c96959.tar.bz2
linux-42b5efe4f9aa40b3b0a20149fd7357d9d6c96959.zip
regulator: tps65912: Use simple equations to get register address
The address of ctrl and sel registers can be calculated by simple equations. This patch simplifies the implementation in tps65912_get_ctrl_register and implements tps65912_get_sel_register to replace tps65912_get_dcdc_sel_register and tps65912_get_ldo_sel_register. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/tps65910-regulator.c')
0 files changed, 0 insertions, 0 deletions