lkml.org 
[lkml]   [2011]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/2] pinctrl: Pass name instead of device to pin_config_*
From
On Fri, Dec 16, 2011 at 12:57 AM, Stephen Warren <swarren@nvidia.com> wrote:

> Obtaining a "struct pinctrl_dev *" is difficult for code not directly
> related to the pinctrl subsystem. However, the device name of the pinctrl
> device is fairly well known. So, modify pin_config_*() to take the device
> name instead of the "struct pinctrl_dev *".
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>

Thanks Stephen, excellent, both applied.

I had to fix it up a bit to match the other
refactoring patch I made so check the result in my tree or -next.

Linus


\
 
 \ /
  Last update: 2011-12-18 23:29    [W:0.761 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site