summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2011-12-08 19:01:25 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-01-05 17:19:30 +0100
commit3310600aa7bc11ead9b0324b972d13fb0e91bcaf (patch)
treef9dcb81de745d403ea902789142fa8d26e01364e /Documentation/driver-model
parenthwmon: (f75375s) Use standard sysfs attribute names (diff)
downloadlinux-3310600aa7bc11ead9b0324b972d13fb0e91bcaf.tar.xz
linux-3310600aa7bc11ead9b0324b972d13fb0e91bcaf.zip
hwmon: (f75375s) Fix value range for PWM modes
Accepted value range for PWM modes was 0..4, even though only 0..3 is subsequently used. Limit permitted value range to 0..3 to avoid unpredictable behavior. Cc: Riku Voipio <riku.voipio@iki.fi> Reviewed-by: Bjoern Gerhart <oss@extracloud.de> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'Documentation/driver-model')
0 files changed, 0 insertions, 0 deletions