All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Linux Doc Mailing List <linux-doc@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	"Jonathan Corbet" <corbet@lwn.net>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Lee Jones <lee.jones@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	devicetree@vger.kernel.org, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 06/19] dt-bindings: don't use ../dir for doc references
Date: Wed,  7 Apr 2021 10:20:45 +0200	[thread overview]
Message-ID: <0b9d9190f20282ded3a8ea2695c1e4763e76cda6.1617783062.git.mchehab+huawei@kernel.org> (raw)
In-Reply-To: <cover.1617783062.git.mchehab+huawei@kernel.org>

As documents have been renamed and moved around, their
references will break, but this will be unnoticed, as the
script which checks for it won't handle "../" references.

So, replace them by the full patch.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 .../input/touchscreen/resistive-adc-touch.txt    |  2 +-
 Documentation/devicetree/bindings/mfd/da9150.txt |  8 ++++----
 .../devicetree/bindings/mfd/motorola-cpcap.txt   | 16 ++++++++--------
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
index 51456c0e9a27..fee0da12474e 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
+++ b/Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt
@@ -5,7 +5,7 @@ Required properties:
  - compatible: must be "resistive-adc-touch"
 The device must be connected to an ADC device that provides channels for
 position measurement and optional pressure.
-Refer to ../iio/iio-bindings.txt for details
+Refer to Documentation/devicetree/bindings/iio/iio-bindings.txt for details
  - iio-channels: must have at least two channels connected to an ADC device.
 These should correspond to the channels exposed by the ADC device and should
 have the right index as the ADC device registers them. These channels
diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation/devicetree/bindings/mfd/da9150.txt
index f09b41fbdf47..763e0b639a82 100644
--- a/Documentation/devicetree/bindings/mfd/da9150.txt
+++ b/Documentation/devicetree/bindings/mfd/da9150.txt
@@ -15,13 +15,13 @@ Required properties:
 - reg: Specifies the I2C slave address
 - interrupts: IRQ line info for da9150 chip.
 - interrupt-controller: da9150 has internal IRQs (own IRQ domain).
-  (See ../interrupt-controller/interrupts.txt for
+  (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
    further information relating to interrupt properties)
 
 Sub-devices:
-- da9150-gpadc: See ../iio/adc/da9150-gpadc.txt
-- da9150-charger: See ../power/da9150-charger.txt
-- da9150-fg: See ../power/da9150-fg.txt
+- 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
 
 Example:
 
diff --git a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
index 5ddcc8f4febc..ebdccfb600b9 100644
--- a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
+++ b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
@@ -16,14 +16,14 @@ Optional subnodes:
 The sub-functions of CPCAP get their own node with their own compatible values,
 which are described in the following files:
 
-- ../power/supply/cpcap-battery.txt
-- ../power/supply/cpcap-charger.txt
-- ../regulator/cpcap-regulator.txt
-- ../phy/phy-cpcap-usb.txt
-- ../input/cpcap-pwrbutton.txt
-- ../rtc/cpcap-rtc.txt
-- ../leds/leds-cpcap.txt
-- ../iio/adc/cpcap-adc.txt
+- Documentation/devicetree/bindings/power/supply/cpcap-battery.txt
+- Documentation/devicetree/bindings/power/supply/cpcap-charger.txt
+- Documentation/devicetree/bindings/regulator/cpcap-regulator.txt
+- Documentation/devicetree/bindings/phy/phy-cpcap-usb.txt
+- Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt
+- Documentation/devicetree/bindings/rtc/cpcap-rtc.txt
+- Documentation/devicetree/bindings/leds/leds-cpcap.txt
+- Documentation/devicetree/bindings/iio/adc/cpcap-adc.txt
 
 The only exception is the audio codec. Instead of a compatible value its
 node must be named "audio-codec".
-- 
2.30.2


  parent reply	other threads:[~2021-04-07  8:21 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07  8:20 [PATCH v2 00/19] Fix broken documentation file references Mauro Carvalho Chehab
2021-04-07  8:20 ` Mauro Carvalho Chehab
2021-04-07  8:20 ` Mauro Carvalho Chehab
2021-04-07  8:20 ` Mauro Carvalho Chehab
2021-04-07  8:20 ` Mauro Carvalho Chehab
2021-04-07  8:20 ` [PATCH v2 01/19] MAINTAINERS: update ste,mcde.yaml reference Mauro Carvalho Chehab
2021-04-07  8:20 ` [PATCH v2 02/19] MAINTAINERS: update brcm,bcm-v3d.yaml reference Mauro Carvalho Chehab
2021-04-07  8:20 ` [PATCH v2 03/19] MAINTAINERS: update fsl,dpaa2-console.yaml reference Mauro Carvalho Chehab
2021-04-07  8:20 ` [PATCH v2 04/19] MAINTAINERS: update mtk-sd.yaml reference Mauro Carvalho Chehab
2021-04-07  8:20 ` [PATCH v2 05/19] MAINTAINERS: update snps,dw-axi-dmac.yaml reference Mauro Carvalho Chehab
2021-04-07  8:20 ` Mauro Carvalho Chehab [this message]
2021-04-07  8:20 ` [PATCH v2 07/19] dt-bindings: fix references for iio-bindings.txt Mauro Carvalho Chehab
2021-04-07 10:18   ` Jonathan Cameron
2021-04-07 10:39   ` Sebastian Reichel
2021-04-07 12:15   ` Guenter Roeck
2021-04-07  8:20 ` [PATCH v2 08/19] dt-bindings: iommu: mediatek: update mediatek,iommu.yaml references Mauro Carvalho Chehab
2021-04-07  8:20   ` [PATCH v2 08/19] dt-bindings: iommu: mediatek: update mediatek, iommu.yaml references Mauro Carvalho Chehab
2021-04-07  8:20   ` Mauro Carvalho Chehab
2021-04-07  8:20   ` Mauro Carvalho Chehab
2021-04-07  8:20 ` [PATCH v2 09/19] dt-bindings: i3c: update i3c.yaml references Mauro Carvalho Chehab
2021-04-07  8:20   ` Mauro Carvalho Chehab
2021-04-07 11:34   ` Alexandre Belloni
2021-04-07 11:34     ` Alexandre Belloni
2021-04-07  8:20 ` [PATCH v2 10/19] dt-bindings:iio:adc: update motorola,cpcap-adc.yaml reference Mauro Carvalho Chehab
2021-04-07 10:18   ` Jonathan Cameron
2021-04-07  8:20 ` [PATCH v2 11/19] dt-bindings:iio:adc: update dlg,da9150-gpadc.yaml reference Mauro Carvalho Chehab
2021-04-07 10:19   ` Jonathan Cameron
2021-04-07  8:20 ` [PATCH v2 12/19] dt-bindings: power: supply: da9150: update da9150-charger.txt reference Mauro Carvalho Chehab
2021-04-07 19:14   ` Sebastian Reichel
2021-04-07  8:20 ` [PATCH v2 13/19] dt-bindings: power: supply: da9150: update da9150-fg.txt reference Mauro Carvalho Chehab
2021-04-07  8:20 ` [PATCH v2 14/19] docs: update sysfs-platform_profile.rst reference Mauro Carvalho Chehab
2021-04-07  8:20 ` [PATCH v2 15/19] docs: update rcu_dereference.rst reference Mauro Carvalho Chehab
2021-04-07 10:10   ` Akira Yokosawa
2021-04-07 13:51     ` Paul E. McKenney
2021-04-07 14:44       ` Akira Yokosawa
2021-04-07 17:42         ` Paul E. McKenney
2021-04-07  8:20 ` [PATCH v2 16/19] docs: vcpu-requests.rst: fix reference for atomic ops Mauro Carvalho Chehab
2021-04-07  8:20 ` [PATCH v2 17/19] docs: replace transation references for reporting-bugs.rst Mauro Carvalho Chehab
2021-04-07  8:52   ` Thorsten Leemhuis
2021-04-07  9:39     ` Mauro Carvalho Chehab
2021-04-07 12:06       ` Federico Vaga
2021-04-07  9:34   ` Wu X.C.
2021-04-07 12:00   ` Federico Vaga
2021-04-07  8:20 ` [PATCH v2 18/19] docs: translations/zh_CN: fix a typo at 8.Conclusion.rst Mauro Carvalho Chehab
2021-04-07  9:11   ` Wu X.C.
2021-04-07  8:20 ` [PATCH v2 19/19] docs: sched-bwc.rst: fix a typo on a doc name Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0b9d9190f20282ded3a8ea2695c1e4763e76cda6.1617783062.git.mchehab+huawei@kernel.org \
    --to=mchehab+huawei@kernel.org \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.