From 5b0380c94a2e888b7858fbec6fc3ac623bc9b05a Mon Sep 17 00:00:00 2001 From: Nat Gurumoorthy Date: Wed, 25 May 2011 20:43:33 +0200 Subject: [PATCH] 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-format-patch failed