projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (f75375s) Fix warning message seen in some configurations
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
f75375s.c
diff --git
a/drivers/hwmon/f75375s.c
b/drivers/hwmon/f75375s.c
index 729499e7521038b59bcba9ecc390f875ca8d5966..ece4159bd4536553abafed0689d60d71f361d312 100644
(file)
--- a/
drivers/hwmon/f75375s.c
+++ b/
drivers/hwmon/f75375s.c
@@
-276,6
+276,7
@@
static bool duty_mode_enabled(u8 pwm_enable)
return false;
default:
BUG();
+ return true;
}
}
@@
-291,6
+292,7
@@
static bool auto_mode_enabled(u8 pwm_enable)
return true;
default:
BUG();
+ return false;
}
}