Thread (3 messages) 3 messages, 2 authors, 2026-02-04

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

From: Linus Walleij <linusw@kernel.org>
Date: 2026-02-03 00:34:27
Also in: linux-gpio, linux-mediatek, lkml

On Sun, Jan 11, 2026 at 6:30 AM Akari Tsuyukusa [off-list ref] 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 <redacted>
No word from maintainers so patch applied.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help