pinctrl: sprd: make three local functions static
authorColin Ian King <colin.king@canonical.com>
Mon, 4 Sep 2017 10:53:22 +0000 (11:53 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Sep 2017 09:18:31 +0000 (11:18 +0200)
commit045b5792dc48848742d3746efab436f4c66be115
treef4ffbe20876630d19aff4b7c4fad01aed6cf1d2a
parent6d363bd1786cf42cf2eb7bb7bf1e0d69788bdb2f
pinctrl: sprd: make three local functions static

The functions sprd_pmx_get_function_count, sprd_pmx_get_function_name
and sprd_pmx_get_function_groups are local to the source and do not
need to be in global scope, so make them static.

Cleans up sparse warnings:
"symbol 'sprd_pmx_get_function_count' was not declared. Should it be
static?"
"symbol 'sprd_pmx_get_function_name' was not declared. Should it be
static?"
"symbol 'sprd_pmx_get_function_groups' was not declared. Should it be
static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sprd/pinctrl-sprd.c