]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: socfpga: Remove unneeded reg from stmpe_touchscreen
authorFlorian Vaussard <florian.vaussard@gmail.com>
Mon, 27 Feb 2017 16:41:01 +0000 (10:41 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 6 Mar 2017 21:54:58 +0000 (15:54 -0600)
The stmpe_touchscreen node in Cyclone5 MCV EVK has a reg property, but
this is not used by the driver. Moreover the binding documentation do
not define this property. Having a reg property without a unit name will
trigger the following warning when compiled with W=1:

Node /soc/i2c@ffc04000/stmpe811@41/stmpe_touchscreen has a reg or ranges
property, but no unit name

Remove the superfluous reg property.

Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts

index e5a98e5696ca23be228b3a6614b46ddea268ebbb..21e397287e295a082d28528e92e3bc6a0cab82b8 100644 (file)
@@ -71,7 +71,6 @@
 
                stmpe_touchscreen {
                        compatible = "st,stmpe-ts";
-                       reg = <0>;
                        ts,sample-time = <4>;
                        ts,mod-12b = <1>;
                        ts,ref-sel = <0>;