commit | a412ec27957c9dc216b19d638c808d7ddfa2debd | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jan 28 22:15:31 2015 +0300 |
committer | Mark Brown <broonie@kernel.org> | Wed Jan 28 19:43:43 2015 +0000 |
tree | 55550b9e75530de0608f10a959767c508d9ee0b6 | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 [diff] |
regulator: qcom-rpm: signedness bug in probe() "force_mode" is a u32 so it is never "< 0", but because of type promotion then comparing "== -1" will do what we want. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@kernel.org>