]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: implement pinctrl_check_ops
authorStephen Warren <swarren@wwwdotorg.org>
Fri, 16 Mar 2012 20:54:25 +0000 (14:54 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Apr 2012 20:17:25 +0000 (22:17 +0200)
commit87508b8b2eeea370e305fb9aee5200dde8722acd
treef3db537fbaac605d3c831bd28845626e519763d6
parent7a2203b3fdbd13c0be28b2f7f859b4be1c2704bd
pinctrl: implement pinctrl_check_ops

Most code assumes that the pinctrl ops are present. Validate this when
registering a pinctrl driver. Remove the one place in the code that
was checking whether one of these non-optional ops was present.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c