]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: gpio: Fix up pointer arithmetic
authorAndre Przywara <andre.przywara@arm.com>
Sun, 30 Jan 2022 01:19:42 +0000 (01:19 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 30 Jan 2022 01:25:00 +0000 (01:25 +0000)
commit8695b5111c5cf6587e5e97d6e879421fc54dc8d8
tree2286fdc6d3cf292519d715c848596e822624b033
parentfb6f67013e3a6d74988615a4bea5f5926ec328d5
sunxi: gpio: Fix up pointer arithmetic

The calls for flipping bits in the Allwinner pin controller registers
were using unnecessarily complex pointer arithmetic.

Improve readability by simplifying the expression.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/mach-sunxi/pinmux.c