commit | e3f3d7ab00cd459d0f7a839758a4542f4d4b8ac8 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Sep 05 10:46:27 2018 +0300 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Sep 05 14:47:50 2018 -0700 |
tree | b6bc22f3467df9d9ca24e84a59cc2df934b898fe | |
parent | 57361846b52bc686112da6ca5368d11210796804 [diff] |
hwmon: (nct6775) Set weight source to zero correctly This is dead code because j can never be 1 at this point. We had intended to just test if the bit was clear. Fixes: bbd8decd4123 ("hwmon: (nct6775) Add support for weighted fan control") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>