commit | 3506999e2fd1eb7ed7375eaa67dcc1d1d60e8ccd | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Mon Mar 21 21:31:00 2011 -0700 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sat Mar 26 09:53:56 2011 -0700 |
tree | 8809f96a42cbb1c5fe43f7bfc2d23c25aaf2bbed | |
parent | 16c29dafcc86024048f1dbb8349d31cb22c7c55a [diff] |
hwmon: (pmbus) Fix temperature limit register access 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>