diff mbox series

arm64: dts: exynos: Use pinctrl macros for exynos5433-tm2

Message ID 20230912055635.49092-1-jaewon02.kim@samsung.com (mailing list archive)
State Accepted
Headers show
Series arm64: dts: exynos: Use pinctrl macros for exynos5433-tm2 | expand

Commit Message

Jaewon Kim Sept. 12, 2023, 5:56 a.m. UTC
Use pinctrl macro instead of hard-coded number.
This makes the code more readable.

Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
---
 arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Sept. 14, 2023, 8:10 a.m. UTC | #1
On Tue, 12 Sep 2023 14:56:35 +0900, Jaewon Kim wrote:
> Use pinctrl macro instead of hard-coded number.
> This makes the code more readable.
> 
> 

Applied, thanks!

[1/1] arm64: dts: exynos: Use pinctrl macros for exynos5433-tm2
      https://git.kernel.org/krzk/linux/c/d8c326bd5aa5d6aac0c4826dfeadcb02dc77ab88

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
index d163891cd399..c2a9e59d36a0 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
@@ -1103,7 +1103,7 @@  initial_alive: initial-state {
 
 	te_irq: te-irq-pins {
 		samsung,pins = "gpf1-3";
-		samsung,pin-function = <0xf>;
+		samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
 	};
 };