diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-10-26 01:55:54 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-28 23:40:32 +0200 |
commit | ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6 (patch) | |
tree | a4e2f4b54fa22e52f3f634d5f5a10c4206e2fa2a /scripts/mod/modpost.c | |
parent | regulator: max8952 - fix max8952_pmic_probe error path (diff) | |
download | linux-ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6.tar.xz linux-ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6.zip |
regulator: max8952 - fix max8952_set_voltage
In current implementation, vid is declared as u8,
then "vid == -1" is always false, and "vid >= 0" is always true.
Thus change it to s8.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'scripts/mod/modpost.c')
0 files changed, 0 insertions, 0 deletions