commit | 417196faefe4c592e9ca1e71d4fd8c35603c8ebb | [log] [tgz] |
---|---|---|
author | Fabien Dessenne <fabien.dessenne@foss.st.com> | Tue Sep 21 11:05:06 2021 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Tue Feb 01 16:35:28 2022 +0100 |
tree | a6726cf62fdc18a3e1e9529c73e7b647321d645a | |
parent | 6cacfe2959800a954cc646cea1233c449393d379 [diff] |
refactor(st-gpio): code improvements No functional, change, but some improvements: - Declare set_gpio() as static (only called locally) - Handle the type ('open-drain') property independently from the mode one. - Replace mmio_clrbits_32() + mmio_setbits_32() with mmio_clrsetbits_32(). - Add a missing log - Add missing U() in macro definitions Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com> Change-Id: I1a79609609ac8e8001127ebefdb81def573f76fa