UPSTREAM: pinctrl: rockchip: remove unnecessary locking
authorJohn Keeping <john@metanate.com>
Thu, 23 Mar 2017 10:59:28 +0000 (10:59 +0000)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 1 Jun 2017 06:25:04 +0000 (14:25 +0800)
commit270dec724364567089cf1446de237aa27660d941
tree2fcd07621808831701da4d6851e2bd8fb06d5e1b
parenta95959abf957db7fd63bcc03e78905420bad62dc
UPSTREAM: pinctrl: rockchip: remove unnecessary locking

regmap_update_bits does its own locking and everything else accessed
here is a local variable so there is no need to lock around it.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit f07bedc37f3cfb7b182e1337fe7c8acce71e3a25)

Change-Id: Id15c7ed10f32202c986c951ef328a84be5798af4
Signed-off-by: David Wu <david.wu@rock-chips.com>
drivers/pinctrl/pinctrl-rockchip.c