commit | 0bc58e93819d542475cd9390921db509a283fe72 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Sep 24 21:41:37 2015 +0300 |
committer | Sebastian Reichel <sre@kernel.org> | Thu Sep 24 22:35:24 2015 +0200 |
tree | 8237bcc342c2d8363141597ac37fbb807b85137c | |
parent | 28153a31b8b6c44e4f1e24dafce2f1b22cec427b [diff] |
power: qcom_smbb: test the correct variable "state" is a bool so it's never less than zero. The intent was to test "ret" instead. Fixes: 56d7df8716b2 ('power: Add Qualcomm SMBB driver') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>