]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 9 Dec 2011 10:33:05 +0000 (11:33 +0100)
commitde0e669d87bfb11ae709487f90e00640de2b3b34
treea5180b9b911b32508c6423852a5419110bf5b821
parenta69cc37d7782a01c1800b1c38969018cf1fd8256
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