summaryrefslogtreecommitdiff
path: root/drivers/hwmon/abituguru3.c
diff options
context:
space:
mode:
authorNat Gurumoorthy <natg@google.com>2011-05-25 20:43:33 +0200
committerJean Delvare <khali@endymion.delvare>2011-05-25 20:43:33 +0200
commit5b0380c94a2e888b7858fbec6fc3ac623bc9b05a (patch)
tree25bfaf2ab49a7b5284dd0bb04f5d6b100fe65282 /drivers/hwmon/abituguru3.c
parent357b9dc6c2dbb01e835415355b70d6b47c43a102 (diff)
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 <natg@google.com> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/abituguru3.c')
0 files changed, 0 insertions, 0 deletions