diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-10-26 07:55:54 +0800 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-28 22:40:32 +0100 |
commit | ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6 (patch) | |
tree | a4e2f4b54fa22e52f3f634d5f5a10c4206e2fa2a /fs/nfs/getroot.c | |
parent | da05738e94b644d759f28184a9f0bf875b271c55 (diff) | |
download | op-kernel-dev-ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6.zip op-kernel-dev-ec10b0e94ebe7de3b301d60e6f7f4a12d3d280c6.tar.gz |
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 'fs/nfs/getroot.c')
0 files changed, 0 insertions, 0 deletions