From: Nat Gurumoorthy Date: Wed, 25 May 2011 18:43:33 +0000 (+0200) Subject: hwmon: (it87) Use request_muxed_region X-Git-Tag: v3.0-rc1~151^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b0380c94a2e888b7858fbec6fc3ac623bc9b05a;p=pandora-kernel.git hwmon: (it87) Use request_muxed_region Serialize access to the hardware by using "request_muxed_region" macro defined by Alan Cox. Call to this macro will hold off the requestor if the resource is currently busy. "superio_enter" will return an error if call to "request_muxed_region" fails. Rest of the code change is to ripple an error return from superio_enter to the top level. Signed-off-by: Nat Gurumoorthy Acked-by: Guenter Roeck Signed-off-by: Jean Delvare --- Reading git-diff-tree failed