hwmon: (w83627ehf) Use request_muxed_region
authorKatsumi Sato <sato@toshiba-tops.co.jp>
Wed, 22 Feb 2017 04:32:10 +0000 (13:32 +0900)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 2 Apr 2017 14:01:53 +0000 (07:01 -0700)
commit0d0235301b3a530e1e8ffedab72ba38ca9aa2ac6
treeedace8803cc3b9edccef0da671a094a68a0cebc9
parent3dead5d59631ebc72c327637e1053b7c26723709
hwmon: (w83627ehf) Use request_muxed_region

Serialize access to the hardware by using "request_muxed_region".
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.

Signed-off-by: Katsumi Sato <sato@toshiba-tops.co.jp>
Signed-off-by: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83627ehf.c