[PATCH] pinctrl: mediatek: remove unused drv_offset field
Akari Tsuyukusa
akkun11.open at gmail.com
Tue Feb 3 18:10:17 PST 2026
Hi Linus,
Thank you for picking this up and applying it!
Best regards,
Akari Tsuyukusa
On Tue, Feb 3, 2026 at 9:34 AM Linus Walleij <linusw at kernel.org> wrote:
>
> 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