diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-05-06 11:33:36 +0800 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-05-25 10:16:02 +0100 |
commit | 1dcc434b52ff25416b225f6ac229fc775867303a (patch) | |
tree | 73c6789ad6cbf1dc8c190108599730a1f688c94e /drivers/regulator/twl-regulator.c | |
parent | 9f79e9db2e282857912bcfe7f741bcdd5c46e860 (diff) | |
download | kernel_samsung_smdk4412-1dcc434b52ff25416b225f6ac229fc775867303a.zip kernel_samsung_smdk4412-1dcc434b52ff25416b225f6ac229fc775867303a.tar.gz kernel_samsung_smdk4412-1dcc434b52ff25416b225f6ac229fc775867303a.tar.bz2 |
mc13783-regulator: fix vaild voltage range checking for mc13783_fixed_regulator_set_voltage
In the case of "min_uV == max_uV == mc13783_regulators[id].voltages[0]",
mc13783_fixed_regulator_set_voltage should return 0 instead of -EINVAL.
This patch also adds a missing ">" character for MODULE_AUTHOR, a trivial fix.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/twl-regulator.c')
0 files changed, 0 insertions, 0 deletions