]> 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>
Wed, 30 Nov 2011 15:18:48 +0000 (16:18 +0100)
commitb1252f657009a092e37ea439d12936539408def1
treec011d5994b0ae756fe043d47e9a3a48cf3d16a37
parent4cc4da7c006a0aa70df22fa2bb93b40026d824e3
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