Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1588067

[PATCH 4/6] ARM: dts: socfpga: Remove unneeded reg from stmpe_touchscreen

From Florian Vaussard <florian.vaussard@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 4/6] ARM: dts: socfpga: Remove unneeded reg from stmpe_touchscreen
Date 2017-02-25 07:00 +0100
Message-ID <teDyG-3fH-9@gated-at.bofh.it> (permalink)
References <teDyF-3fH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts b/arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts
index e5a98e5..21e3972 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts
@@ -71,7 +71,6 @@
 
 		stmpe_touchscreen {
 			compatible = "st,stmpe-ts";
-			reg = <0>;
 			ts,sample-time = <4>;
 			ts,mod-12b = <1>;
 			ts,ref-sel = <0>;
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] ARM: dts: socfpga: Fix dtc warnings Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 5/6] ARM: dts: socfpga: Remove unit name for LEDs in EBV SOCrates Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 4/6] ARM: dts: socfpga: Remove unneeded reg from stmpe_touchscreen Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 3/6] ARM: dts: socfpga: Remove unneeded unit names Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 2/6] ARM: dts: socfpga: Add unit name to memory nodes Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 6/6] ARM: dts: socfpga: Do not include skeleton.dtsi Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 1/6] ARM: dts: socfpga: Add unit name to clock nodes Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  Re: [PATCH 0/6] ARM: dts: socfpga: Fix dtc warnings Dinh Nguyen <dinguyen@kernel.org> - 2017-02-27 17:50 +0100
    Re: [PATCH 0/6] ARM: dts: socfpga: Fix dtc warnings Florian Vaussard <florian.vaussard@heig-vd.ch> - 2017-02-28 12:30 +0100

csiph-web