]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: stm32: Simplify handling of backup pin status
authorAntonio Borneo <antonio.borneo@foss.st.com>
Thu, 23 Oct 2025 13:26:54 +0000 (15:26 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 28 Oct 2025 09:43:01 +0000 (10:43 +0100)
commitbbd3fc34122431f5b004777c97164bc95f71228d
tree79b1f8e0557f07343bd9531f5fe7ab6f88f1b045
parent5a0398cc2a364e8c314a9c6361680a95d7d9b5d7
pinctrl: stm32: Simplify handling of backup pin status

Use C bit-field to keep the backup of the pin status, instead of
explicitly handling the bit-field through shift and mask of a u32
container.

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c