lkml.org 
[lkml]   [2017]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Input: egalax-ts: Remove leading zero from '' notation
On Mon, Oct 30, 2017 at 03:00:50PM -0200, Marco Franchi wrote:
> Improve the binding example by removing the leading 0 from 'egalax-ts@04'
> notation, which fix the following build warning:
>
> Warning (unit_address_format): Node /egalax_ts@04 unit name should not have leading 0s
>
> Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
> ---
> Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt b/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt
> index 49fa14e..707f248 100644
> --- a/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt
> +++ b/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt
> @@ -10,7 +10,7 @@ Required properties:
>
> Example:
>
> - egalax_ts@04 {
> + egalax_ts@4 {

That really should be 'touchscreen@4'.

> compatible = "eeti,egalax_ts";
> reg = <0x04>;
> interrupt-parent = <&gpio1>;
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

\
 
 \ /
  Last update: 2017-11-01 22:48    [W:0.684 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site