OSDN Git Service

pinctrl: artpec6: Drop unused function and rename
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Apr 2019 07:04:21 +0000 (09:04 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Apr 2019 13:41:20 +0000 (15:41 +0200)
commit21989587f6d0c900195ac818cc55b9a20f960904
treea625d689ffda5edd221716cd9718e48a10b30d48
parentbc236d6fb5617e990f692efe91ef2be9adf0c1a7
pinctrl: artpec6: Drop unused function and rename

The pincontrol callbacks used to be symmetric:
enable/disable.

However for a while we only have one function that
set the muxing, no disabling.

Drop the unused disable function, and rename the
*enable() function to *set().

Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Cc: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-artpec6.c