[PATCH 2/2] pinctrl: mvebu: remove dead code
Linus Walleij
linus.walleij at linaro.org
Tue Sep 11 13:55:40 EDT 2012
On Tue, Sep 11, 2012 at 4:20 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> 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 <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list