hwmon: (pmbus) Fix temperature limit register access
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 22 Mar 2011 04:31:00 +0000 (21:31 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 26 Mar 2011 16:53:56 +0000 (09:53 -0700)
Commit 8677011 added auto-update to temperature limit registers.
Unfortunately, the update flag is also used to determine if an attribute
is writable, which results in read-only temperature limit registers.
To fix the problem, pass 'readonly' as separate flag to the function used
to add sensor attributes.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>

No differences found