pinctrl: rip out the direct pinconf API
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Jun 2013 13:06:19 +0000 (15:06 +0200)
committerMark Brown <broonie@linaro.org>
Fri, 4 Apr 2014 15:19:04 +0000 (16:19 +0100)
commita11975a78b2652b1f15152ffda2d6de27f1a41cf
treec95e7cb21f53fbfb70f61c1fa5b2bb45add915d1
parent65b606f92c3e26af787fa9fcd16a1da28429798a
pinctrl: rip out the direct pinconf API

From the inception ot the pin config API there has been the
possibility to get a handle at a pin directly and configure
its electrical characteristics. For this reason we had:

int pin_config_get(const char *dev_name, const char *name,
               unsigned long *config);
int pin_config_set(const char *dev_name, const char *name,
               unsigned long config);
int pin_config_group_get(const char *dev_name,
               const char *pin_group,
               unsigned long *config);
int pin_config_group_set(const char *dev_name,
               const char *pin_group,
               unsigned long config);

After the introduction of the pin control states that will
control pins associated with devices, and its subsequent
introduction to the device core, as well as the
introduction of pin control hogs that can set up states on
boot and optionally also at sleep, this direct pin control
API is a thing of the past.

As could be expected, it has zero in-kernel users.
Let's delete this API and make our world simpler.

Reported-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit ad42fc6c84795d19972e7f7dee70fe74bec4c2d8)
Signed-off-by: Mark Brown <broonie@linaro.org>
Documentation/pinctrl.txt
drivers/pinctrl/pinconf.c
include/linux/pinctrl/consumer.h