hwmon: (nct6775) Use logical or instead of if statements where possible
authorGuenter Roeck <linux@roeck-us.net>
Tue, 18 Sep 2018 16:53:06 +0000 (09:53 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Oct 2018 03:37:13 +0000 (20:37 -0700)
commita4e0a080cad80bb2522eb541868cc48c5e68ba72
tree42c70dd32f546cfef762cb3ce3a83e728513def7
parent2d888c5f22b49bba174e0343f8e4ddfb374fa816
hwmon: (nct6775) Use logical or instead of if statements where possible

Use
boolean |= <expression>;
instead of
if (!boolean)
boolean = <expression>;
to assign values to boolean variables.

No functional change.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c