diff mbox series

docs: fix bad cross-links in motorola-cpcap

Message ID 20210614214527.208384-1-kolyshkin@gmail.com
State New
Headers show
Series docs: fix bad cross-links in motorola-cpcap | expand

Commit Message

Kir Kolyshkin June 14, 2021, 9:45 p.m. UTC
Commits 3c5be0454 and ce49e4282 renamed the files being referenced,
but forgot to modify the document that references them.

This fixes the following warnings:

> Warning: Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
> references a file that doesn't exist:
> Documentation/devicetree/bindings/power/supply/cpcap-battery.txt

> Warning: Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
> references a file that doesn't exist:
> Documentation/devicetree/bindings/power/supply/cpcap-charger.txt

Cc: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
---
 Documentation/devicetree/bindings/mfd/motorola-cpcap.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rob Herring June 24, 2021, 8:42 p.m. UTC | #1
On Mon, Jun 14, 2021 at 02:45:27PM -0700, Kir Kolyshkin wrote:
> Commits 3c5be0454 and ce49e4282 renamed the files being referenced,

> but forgot to modify the document that references them.

> 

> This fixes the following warnings:

> 

> > Warning: Documentation/devicetree/bindings/mfd/motorola-cpcap.txt

> > references a file that doesn't exist:

> > Documentation/devicetree/bindings/power/supply/cpcap-battery.txt

> 

> > Warning: Documentation/devicetree/bindings/mfd/motorola-cpcap.txt

> > references a file that doesn't exist:

> > Documentation/devicetree/bindings/power/supply/cpcap-charger.txt

> 

> Cc: Sebastian Reichel <sebastian.reichel@collabora.com>

> Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>

> ---

>  Documentation/devicetree/bindings/mfd/motorola-cpcap.txt | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)


There's already fixes for this in linux-next.

> 

> diff --git a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt

> index b52e7a33f0f9..190230216de8 100644

> --- a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt

> +++ b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt

> @@ -16,8 +16,8 @@ Optional subnodes:

>  The sub-functions of CPCAP get their own node with their own compatible values,

>  which are described in the following files:

>  

> -- Documentation/devicetree/bindings/power/supply/cpcap-battery.txt

> -- Documentation/devicetree/bindings/power/supply/cpcap-charger.txt

> +- Documentation/devicetree/bindings/power/supply/cpcap-battery.yaml

> +- Documentation/devicetree/bindings/power/supply/cpcap-charger.yaml

>  - Documentation/devicetree/bindings/regulator/cpcap-regulator.txt

>  - Documentation/devicetree/bindings/phy/phy-cpcap-usb.txt

>  - Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt

> -- 

> 2.31.1

> 

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
index b52e7a33f0f9..190230216de8 100644
--- a/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
+++ b/Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
@@ -16,8 +16,8 @@  Optional subnodes:
 The sub-functions of CPCAP get their own node with their own compatible values,
 which are described in the following files:
 
-- Documentation/devicetree/bindings/power/supply/cpcap-battery.txt
-- Documentation/devicetree/bindings/power/supply/cpcap-charger.txt
+- Documentation/devicetree/bindings/power/supply/cpcap-battery.yaml
+- Documentation/devicetree/bindings/power/supply/cpcap-charger.yaml
 - Documentation/devicetree/bindings/regulator/cpcap-regulator.txt
 - Documentation/devicetree/bindings/phy/phy-cpcap-usb.txt
 - Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt