Re: [PATCH 2/2] pinctrl: Pass name instead of device to pin_config_*
From: Linus Walleij
Date: Sun Dec 18 2011 - 17:27:12 EST
On Fri, Dec 16, 2011 at 12:57 AM, Stephen Warren <swarren@xxxxxxxxxx> 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@xxxxxxxxxx>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/