[PATCH] pinctrl: mediatek: remove unused drv_offset field

Linus Walleij linusw at kernel.org
Mon Feb 2 16:34:14 PST 2026


On Sun, Jan 11, 2026 at 6:30 AM Akari Tsuyukusa <akkun11.open at gmail.com> wrote:

> The 'drv_offset' member in 'struct mtk_pinctrl_devdata' has been unused
> since the driver's inception. Drive strength control for MediaTek
> pinctrl drivers is actually configured via 'pin_drv_grp',
> making this specific offset field redundant.
>
> Remove the unused field from the common 'mtk_pinctrl_devdata' structure
> and its corresponding initialization in the mt8365 driver to clean up
> the code and avoid confusion.
>
> Signed-off-by: Akari Tsuyukusa <akkun11.open at gmail.com>

No word from maintainers so patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list