diff options
author | Guenter Roeck <linux@roeck-us.net> | 2018-09-18 19:53:06 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-10-11 06:37:13 +0300 |
commit | a4e0a080cad80bb2522eb541868cc48c5e68ba72 (patch) | |
tree | 42c70dd32f546cfef762cb3ce3a83e728513def7 /drivers/hwmon/ltc2945.c | |
parent | 2d888c5f22b49bba174e0343f8e4ddfb374fa816 (diff) | |
download | linux-a4e0a080cad80bb2522eb541868cc48c5e68ba72.tar.xz |
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>
Diffstat (limited to 'drivers/hwmon/ltc2945.c')
0 files changed, 0 insertions, 0 deletions