hwmon: (f75375s) Fix writes to the pwm* attribute for the F75387
authorNikolaus Schulz <mail@microschulz.de>
Tue, 28 Feb 2012 21:15:51 +0000 (22:15 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 28 Feb 2012 22:39:47 +0000 (14:39 -0800)
commit331255d35d6f517020485aee38dbb8b8dfaa1642
treea36b477d0aeae0d8ebc74439ffa113df35340c3a
parent6b21d18ed50c7d145220b0724ea7f2613abf0f95
hwmon: (f75375s) Fix writes to the pwm* attribute for the F75387

For the F75387, the register holding the current PWM duty cycle value is
r/o; changing it requires writing to the fan expect register instead.

Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
[guenter.roeck@ericsson.com: Simplified function parameters]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f75375s.c