Re: [PATCH] pinctrl: mediatek: remove unused drv_offset field

From: Akari Tsuyukusa

Date: Tue Feb 03 2026 - 21:12:20 EST


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@xxxxxxxxxx> wrote:
>
> On Sun, Jan 11, 2026 at 6:30 AM Akari Tsuyukusa <akkun11.open@xxxxxxxxx> 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@xxxxxxxxx>
>
> No word from maintainers so patch applied.
>
> Yours,
> Linus Walleij