pinctrl: pinctrl-single: Fix error check condition
commit00e79d12729e3b5a6b6d7a13eb2823cfff0761e4
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 20 Nov 2012 11:04:39 +0000 (20 16:34 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Nov 2012 07:43:09 +0000 (23 08:43 +0100)
tree5b800935239c0890f00c44fe8d81b16894c7dd1c
parent7d8dd20e56be0196fd015feb19ca38449c607794
pinctrl: pinctrl-single: Fix error check condition

*map should be tested for NULL instead of map.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c