Thread (8 messages) 8 messages, 4 authors, 2012-04-02

[RFC] pinctrl: Replace list_groups() with get_groups_count()

From: Linus Walleij <hidden>
Date: 2012-03-30 05:14:34

Possibly related (same subject, not in this thread)

On Fri, Mar 30, 2012 at 7:09 AM, Viresh Kumar [off-list ref] wrote:
BTW, i am planning not to add another call, get_groups_count(),
but add another field like ngroups, which would be set by users.
get_groups_count() may make some sense if the number of
available groups could in some instance change at runtime.
Maybe a bit overcautious and pedantic but you never know...

But do it any way you like, I don't worry very much :-)

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help