extcon: arizona: Use DAPM mutex helper functions
commit03bf1adbd68d349eaccf16d42e0ef7e368c3716a
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 29 Dec 2015 16:32:03 +0000 (29 16:32 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 25 Jan 2016 04:16:53 +0000 (25 13:16 +0900)
tree3c90278c50d616bb6120be1b4c86e7714fcdedde
parent8b45b6a0741678902810d7be95e635c210fbb198
extcon: arizona: Use DAPM mutex helper functions

We should be using the helper functions to lock the DAPM mutex not
accessing it directly. There are no ill effects of this as the moment
but it is best practice, and the implementation could be changed in the
future.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c