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>
Wed, 11 Apr 2012 07:31:02 +0000 (09:31 +0200)
commitf84cc342b1999db11ece939e1d2bf0743eb4578b
tree76ee7cf9e6cbf79b6768ebee51b2f253e9c00004
parent6f11f6f1a0a717eb8bd0dadd101c4522b945c501
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