summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/rn5t618-regulator.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-07-09 16:35:28 +0100
committerMark Brown <broonie@kernel.org>2015-07-09 18:54:25 +0100
commitf3f6439d8635d783f145b321db3049369e745799 (patch)
treea3feb879bc6f2dc02e85b62ff1b9829dd55e6793 /drivers/regulator/rn5t618-regulator.c
parentf747a1fe7848453957dbdf362a42d7a6735c6ff0 (diff)
downloadtalos-op-linux-f3f6439d8635d783f145b321db3049369e745799.tar.gz
talos-op-linux-f3f6439d8635d783f145b321db3049369e745799.zip
regulator: pwm-regulator: Small clean-ups
Remove over-bracketing, use framework API to fetch PWM period and be more forthcoming that pwm_voltage_to_duty_cycle() actually returns duty cycle as a percentage, rather than a register value. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/rn5t618-regulator.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud