]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: pinctrl-adi2: Remove nested lock+irqsave that resue flags.
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 8 Oct 2013 07:30:21 +0000 (15:30 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Oct 2013 11:07:05 +0000 (13:07 +0200)
commit4a4657a5eca0768b04efc4265157b73d09cbf669
treefd4689e566c4f59f1dad53ecf0cef6fe0097fab5
parent63140e8f153adbf0a03e42f835b7b2b998c50529
pinctrl: pinctrl-adi2: Remove nested lock+irqsave that resue flags.

Also avoid use NULL pointer in error message.

v2-changes:
- use port pinter only after checking

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-adi2.c