]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: exynos: Refactor handling the pin related dt properties
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 30 Nov 2023 20:13:50 +0000 (14:13 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 9 Jan 2024 15:59:28 +0000 (10:59 -0500)
commitaad0f6abf113a691b0c0472a26fef6b560d30abf
tree1fe8b7f674560eec3ede5938a5597030f61b395f
parent2ed4ba83fb8a1e32a91f4d289069a33d390f532b
pinctrl: exynos: Refactor handling the pin related dt properties

All pin related dt properties (pin-function, pin-pud and pin-drv) are
handled in a very similar way. Get rid of that code duplication by
extracting the corresponding data knowledge into an actual data
structure (array), and then just iterating over it.

No functional change, it's a refactoring commit.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/pinctrl/exynos/pinctrl-exynos.c