Re: [PATCH v2] dt-bindings: Input: Remove leading zeros from bindings notation

From: Rob Herring
Date: Wed Nov 01 2017 - 20:25:18 EST


On Wed, Nov 01, 2017 at 10:30:43AM -0200, Marco Franchi wrote:
> Improve the binding example by removing all the leading zeros to fix the
> following dtc warnings:
>
> Warning (unit_address_format): Node /XXX unit name should not have leading 0s
>
> Converted using the following command:
>
> perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings/input "*.txt"`

What about doing this one level up?

Rob