[PATCH 3/4] pinctrl: Don't copy pin names when registering them

Linus Walleij linus.walleij at linaro.org
Thu Oct 20 09:45:39 UTC 2011


On Thu, Oct 20, 2011 at 12:19 AM, Stephen Warren <swarren at nvidia.com> wrote:

> A pin controller's names array is no longer marked __refdata. Hence, we
> can avoid copying a pin's name into the descriptor when registering it.
> Instead, just point at the string supplied in the pin array.
>
> This both simplifies and speeds up pin controller initialization, but
> also removes the hard-coded maximum pin name length.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

Thanks, applied.
Linus Walleij



More information about the linaro-dev mailing list