lkml.org 
[lkml]   [2013]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pinctrl: rip out the direct pinconf API
* Stephen Warren <swarren@wwwdotorg.org> [130624 08:32]:
> On 06/24/2013 07:15 AM, Linus Walleij wrote:
> > From: Linus Walleij <linus.walleij@linaro.org>
> >
> > 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 intruction 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.
>
> Reviewed-by: Stephen Warren <swarren@nvidia.com>

Acked-by: Tony Lindgren <tony@atomide.com>


\
 
 \ /
  Last update: 2013-06-25 10:21    [W:0.039 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site