RE: [PATCH] pinctrl: conjure names for unnamed pins

From: Stephen Warren
Date: Thu Dec 15 2011 - 11:22:10 EST


Linus Walleij wrote at Wednesday, December 14, 2011 12:35 PM:
> From: Linus Walleij <linus.walleij@xxxxxxxxxx>
>
> If pins with blank names are registered, we assign them names on-the-fly
> on the form "PINn" where n is the pin number for that pin on the specific
> controller.
>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Acked-by: Stephen Warren <swarren@xxxxxxxxxx>

That could be a lot of dynamic allocations, but since the individual
drivers are in control of whether any are needed (i.e. they can provide
names themselves), this seems fine - it doesn't affect anything that
doesn't want the feature.

--
nvpublic

--
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/