OSDN Git Service

arm64: dts: qcom: msm/apq8x96-*: Fix up comments
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 7 Nov 2022 14:55:12 +0000 (15:55 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 8 Nov 2022 01:26:37 +0000 (19:26 -0600)
Switch '//' comments to C-style /* */ and fix up the contents of some.
Make sure all multiline C-style commends begin with just '/*' with
the comment text starting on a new line.
Also, fix up a single raw '2' to PM8994_GPIO_S4 while at it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221107145522.6706-3-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/apq8096-db820c.dts
arch/arm64/boot/dts/qcom/msm8996.dtsi

index 1b0a01f..fe6c415 100644 (file)
                        pins = "gpio5";
                        function = PMIC_GPIO_FUNC_NORMAL;
                        output-low;
-                       power-source = <2>; // PM8994_GPIO_S4, 1.8V
+                       power-source = <PM8994_GPIO_S4>; /* 1.8V */
                };
        };
 
                        pins = "gpio19";
                        function = PMIC_GPIO_FUNC_NORMAL;
                        output-low;
-                       power-source = <PM8994_GPIO_S4>; // 1.8V
+                       power-source = <PM8994_GPIO_S4>; /* 1.8V */
                        qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
                        bias-pull-down;
                };
                        pins = "gpio8";
                        function = PMIC_GPIO_FUNC_NORMAL;
                        output-low;
-                       power-source = <PM8994_GPIO_S4>; // 1.8V
+                       power-source = <PM8994_GPIO_S4>; /* 1.8V */
                        qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
                        bias-pull-down;
                };
                pinconf {
                        pins = "gpio15";
                        function = "func1";
-                       power-source = <PM8994_GPIO_S4>; // 1.8V
+                       power-source = <PM8994_GPIO_S4>; /* 1.8V */
                };
        };
 
                        drive-push-pull;
                        bias-pull-up;
                        qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
-                       power-source = <PM8994_GPIO_S4>; // 1.8V
+                       power-source = <PM8994_GPIO_S4>; /* 1.8V */
                };
        };
 
                        input-enable;
                        bias-pull-down;
                        qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
-                       power-source = <PM8994_GPIO_S4>; // 1.8V
+                       power-source = <PM8994_GPIO_S4>; /* 1.8V */
                };
        };
 };
                        input-enable;
                        bias-pull-down;
                        qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
-                       power-source = <PM8994_GPIO_S4>; // 1.8V
+                       power-source = <PM8994_GPIO_S4>; /* 1.8V */
                };
        };
 };
index ed27342..747e1aa 100644 (file)
@@ -1,5 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
+/*
+ * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>