pinctrl: remove double pin validity check.
authorMarek Belisko <marek.belisko@open-nandra.com>
Wed, 26 Oct 2011 20:57:20 +0000 (22:57 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Jan 2012 08:09:59 +0000 (09:09 +0100)
commitd2f6a1c6fb0e510a24ccac066eefbcfd0c932858
treea5180b9b911b32508c6423852a5419110bf5b821
parent7afde8baa83b9ac409a6db86f27a41878aa6b33f
pinctrl: remove double pin validity check.

Function pin_is_valid just call pin_desc_get which is in pin_request
call some line below. Remove pin_is_valid() check.

Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinmux.c