]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4db889ff3d98a02d96ae50d394fc027c7b918457
treeedace8803cc3b9edccef0da671a094a68a0cebc9
parent4bb324466b6fc8f44dc9a9a25fb9d190771dc35b
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