Thread (152 messages) 152 messages, 12 authors, 2013-06-18
STALE4734d REVIEWED: 1 (0M)

[PATCH 2/2] pinctrl: mvebu: remove dead code

From: Linus Walleij <hidden>
Date: 2012-09-11 17:55:40

On Tue, Sep 11, 2012 at 4:20 PM, Thomas Petazzoni
[off-list ref] wrote:
-#if 0
-struct mvebu_pinctrl_function *mvebu_pinctrl_find_function_by_name(
-       struct mvebu_pinctrl *pctl, const char *name)
-{
-       unsigned n;
-       for (n = 0; n < pctl->num_functions; n++) {
-               if (strcmp(name, pctl->functions[n].name) == 0)
-                       return &pctl->functions[n];
-       }
-       return NULL;
-}
-#endif
Grrr how could I miss this...?

Acked-by: Linus Walleij <redacted>

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