Messages in this thread | | | Date | Sun, 18 Dec 2011 23:27:10 +0100 | Subject | Re: [PATCH 2/2] pinctrl: Pass name instead of device to pin_config_* | From | Linus Walleij <> |
| |
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
| |