diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-03-21 21:31:00 -0700 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-03-26 09:53:56 -0700 |
commit | 3506999e2fd1eb7ed7375eaa67dcc1d1d60e8ccd (patch) | |
tree | 8809f96a42cbb1c5fe43f7bfc2d23c25aaf2bbed /include | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions