]> git.baikalelectronics.ru Git - kernel.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>
Wed, 11 Apr 2012 07:31:02 +0000 (09:31 +0200)
commit45c439540b2f612fa37375ffb2867aaa33edba1e
tree76ee7cf9e6cbf79b6768ebee51b2f253e9c00004
parentbe5e730ddf4c7dcd883053f1edd2899dd176585a
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