Guenter Roeck 6394011d65 hwmon: (f75375s) Fix warning message seen in some configurations
In some configurations, BUG() does not result in an endless loop but returns to
the caller. This results in the following compiler warning:

drivers/hwmon/f75375s.c: In function 'duty_mode_enabled':
drivers/hwmon/f75375s.c:280: warning: control reaches end of non-void function
drivers/hwmon/f75375s.c: In function 'auto_mode_enabled':
drivers/hwmon/f75375s.c:295: warning: control reaches end of non-void function

Fix the warning by returning something sensible after BUG().

Cc: Nikolaus Schulz <schulz@macnetix.de>
Cc: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2012-04-01 10:24:34 -07:00
..
2012-03-19 09:37:11 +00:00
2012-03-27 16:03:32 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 18:43:38 +01:00
2012-03-29 18:02:10 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 17:31:56 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 14:08:46 -07:00
2012-03-17 01:41:43 -07:00
2012-03-27 16:41:24 -07:00
2012-03-29 18:02:10 -07:00
2012-03-28 15:58:21 -07:00
2012-03-31 13:31:23 -07:00
2012-03-30 00:09:17 -07:00
2012-03-23 16:58:34 -07:00
2012-03-29 18:02:10 -07:00
2012-03-29 18:02:10 -07:00
2012-03-27 16:30:09 -07:00
2012-03-27 16:30:09 -07:00