diff mbox

[v4,5/6] mfd: da9150: Use relative paths in DT bindings document

Message ID 624a615ce54f3be058165edf499f18cc56d5bfdb.1438692348.git.Adam.Thomson.Opensource@diasemi.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Adam Thomson Aug. 4, 2015, 4:16 p.m. UTC
When referencing other DT bindings documentation, use relative
path rather than absolute.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
---

Changes in v4:
 - N/A

Changes in v3:
 - Initial version.

Changes in v2:
 - N/A

 Documentation/devicetree/bindings/mfd/da9150.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Lee Jones Aug. 10, 2015, 1:57 p.m. UTC | #1
On Tue, 04 Aug 2015, Adam Thomson wrote:

> When referencing other DT bindings documentation, use relative
> path rather than absolute.
> 
> Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
> ---
> 
> Changes in v4:
>  - N/A
> 
> Changes in v3:
>  - Initial version.
> 
> Changes in v2:
>  - N/A
> 
>  Documentation/devicetree/bindings/mfd/da9150.txt | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Much better:

Acked-by: Lee Jones <lee.jones@linaro.org>

> diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation/devicetree/bindings/mfd/da9150.txt
> index 970801d..fd4dca7 100644
> --- a/Documentation/devicetree/bindings/mfd/da9150.txt
> +++ b/Documentation/devicetree/bindings/mfd/da9150.txt
> @@ -17,13 +17,13 @@ Required properties:
>    the IRQs from da9150 are delivered to.
>  - interrupts: IRQ line info for da9150 chip.
>  - interrupt-controller: da9150 has internal IRQs (own IRQ domain).
> -  (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
> +  (See ../interrupt-controller/interrupts.txt for
>     further information relating to interrupt properties)
> 
>  Sub-devices:
> -- da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
> -- da9150-charger: See Documentation/devicetree/bindings/power/da9150-charger.txt
> -- da9150-fg: See Documentation/devicetree/bindings/power/da9150-fg.txt
> +- da9150-gpadc: See ../iio/adc/da9150-gpadc.txt
> +- da9150-charger: See ../power/da9150-charger.txt
> +- da9150-fg: See ../power/da9150-fg.txt
> 
>  Example:
>
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation/devicetree/bindings/mfd/da9150.txt
index 970801d..fd4dca7 100644
--- a/Documentation/devicetree/bindings/mfd/da9150.txt
+++ b/Documentation/devicetree/bindings/mfd/da9150.txt
@@ -17,13 +17,13 @@  Required properties:
   the IRQs from da9150 are delivered to.
 - interrupts: IRQ line info for da9150 chip.
 - interrupt-controller: da9150 has internal IRQs (own IRQ domain).
-  (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
+  (See ../interrupt-controller/interrupts.txt for
    further information relating to interrupt properties)

 Sub-devices:
-- da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
-- da9150-charger: See Documentation/devicetree/bindings/power/da9150-charger.txt
-- da9150-fg: See Documentation/devicetree/bindings/power/da9150-fg.txt
+- da9150-gpadc: See ../iio/adc/da9150-gpadc.txt
+- da9150-charger: See ../power/da9150-charger.txt
+- da9150-fg: See ../power/da9150-fg.txt

 Example: