projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branches 'pm-cpufreq' and 'pm-cpuidle'
[linux-2.6-microblaze.git]
/
drivers
/
hwmon
/
f75375s.c
diff --git
a/drivers/hwmon/f75375s.c
b/drivers/hwmon/f75375s.c
index
a837b94
..
80c42be
100644
(file)
--- a/
drivers/hwmon/f75375s.c
+++ b/
drivers/hwmon/f75375s.c
@@
-275,7
+275,7
@@
static bool duty_mode_enabled(u8 pwm_enable)
case 3: /* Manual, speed mode */
return false;
default:
case 3: /* Manual, speed mode */
return false;
default:
-
BUG(
);
+
WARN(1, "Unexpected pwm_enable value %d\n", pwm_enable
);
return true;
}
}
return true;
}
}
@@
-291,7
+291,7
@@
static bool auto_mode_enabled(u8 pwm_enable)
case 4: /* Auto, duty mode */
return true;
default:
case 4: /* Auto, duty mode */
return true;
default:
-
BUG(
);
+
WARN(1, "Unexpected pwm_enable value %d\n", pwm_enable
);
return false;
}
}
return false;
}
}