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, 18 Apr 2012 11:53:10 +0000 (13:53 +0200)
commitd26bc49fa401be2b71838b6a4b387196cd12a534
tree463315affe87f7fefa96086f589b3b8681320ccd
parent22f099d0fcb33073a1f1f10402a16b28602e20f2
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