Re: [PATCH 2/4] pinctrl: mediatek: remove PINCONF conditional compilation

Julien Stephan <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <CAEHHSvYr=e1_KiVexCA-u-ofqq95y3ypQQtpuUgmFSVhKDJJ5A__38416.8270089262$1786104193$gmane$org@mail.gmail.com>
Le lun. 3 août 2026 à 22:57, David Lechner <[email protected]> a écrit :
>
> Remove #if conditionals that checked if PINCONF was enabled. The Kconfig
> now selects PINCONF, so it will always be enabled and we don't need the
> checks anymore.
>
> Signed-off-by: David Lechner <[email protected]>
> ---
>  drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 13 -------------
>  1 file changed, 13 deletions(-)
>

Hi David,

 I see some remaining #if CONFIG_IS_ENABLED(PINCONF) in
pinctrl-mtk-common.h  should they be removed also?

> diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c
> index 01f67f09407..0b8234e167f 100644
> --- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c
> +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c
> @@ -19,7 +19,6 @@
>
[...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.