Re: [PATCH] pinctrl: ocelot: make function ocelot_pinctrl_probe static

2018-02-22 Thread Linus Walleij
On Thu, Feb 8, 2018 at 3:24 PM, Colin King  wrote:

> From: Colin Ian King 
>
> The function ocelot_pinctrl_probe is local to the source and does not
> need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> drivers/pinctrl/pinctrl-ocelot.c:465:5: warning: symbol
> 'ocelot_pinctrl_probe' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King 

Patch applied.

Yours,
Linus Walleij


Re: [PATCH] pinctrl: ocelot: make function ocelot_pinctrl_probe static

2018-02-22 Thread Linus Walleij
On Thu, Feb 8, 2018 at 3:24 PM, Colin King  wrote:

> From: Colin Ian King 
>
> The function ocelot_pinctrl_probe is local to the source and does not
> need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> drivers/pinctrl/pinctrl-ocelot.c:465:5: warning: symbol
> 'ocelot_pinctrl_probe' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King 

Patch applied.

Yours,
Linus Walleij