pinctrl: factor pin control handles over to the core
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 9 Feb 2012 18:47:48 +0000 (19:47 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 10 Feb 2012 20:33:06 +0000 (21:33 +0100)
commitbefe5bdfbb698b3bc57c58d0bd7ca3391c9275ed
tree71416f2adc515f010f54de2371e29626cd144a5b
parente93bcee00c43e2bd4037291262111016f4c05793
pinctrl: factor pin control handles over to the core

This moves the per-devices struct pinctrl handles and device map
over from the pinmux part of the subsystem to the core pinctrl part.
This makes the device handles core infrastructure with the goal of
using these handles also for pin configuration, so that device
drivers (or boards etc) will need one and only one handle to the
pin control core.

Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c
drivers/pinctrl/core.h
drivers/pinctrl/pinmux.c
drivers/pinctrl/pinmux.h
include/linux/pinctrl/consumer.h