]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: mediatek: remove unused drv_offset field
authorAkari Tsuyukusa <akkun11.open@gmail.com>
Sun, 11 Jan 2026 05:30:24 +0000 (14:30 +0900)
committerLinus Walleij <linusw@kernel.org>
Tue, 3 Feb 2026 00:33:25 +0000 (01:33 +0100)
commitca3299dc3d6d9791c7e4a9bb7474150e66a525fe
treeb14365fbff734e4da8546024c4da02c1ed199318
parentd8c128fb6c2277d95f3f6a4ce28b82c8370031f6
pinctrl: mediatek: remove unused drv_offset field

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@gmail.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/mediatek/pinctrl-mt8365.c
drivers/pinctrl/mediatek/pinctrl-mtk-common.h