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)
commit010c51e189c6a37da2908d27c93e73584f6e8fa8
treefd4689e566c4f59f1dad53ecf0cef6fe0097fab5
parenta047914e7f123074bc8ee6f40e4502111a1b4cc4
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