From: Guenter Roeck Date: Tue, 22 Mar 2011 04:31:00 +0000 (-0700) Subject: hwmon: (pmbus) Fix temperature limit register access X-Git-Tag: v2.6.39-rc1~34^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3506999e2fd1eb7ed7375eaa67dcc1d1d60e8ccd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed