All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: juno: drop unnecessary address-cells and size-cells properties
@ 2018-04-09 10:39 ` Sudeep Holla
  0 siblings, 0 replies; 6+ messages in thread
From: Sudeep Holla @ 2018-04-09 10:39 UTC (permalink / raw)
  To: devicetree; +Cc: linux-arm-kernel, Sudeep Holla

/smb@8000000/motherboard/gpio_keys node doesn't have "ranges" or "reg"
property in child nodes. So it's unnecessary to have address-cells
as well as size-cells properties which results in below warning.

Warning (avoid_unnecessary_addr_size):
/smb@8000000/motherboard/gpio_keys:
	unnecessary #address-cells/#size-cells without "ranges" or child "reg"
	property

This patch drops the unnecessary address+size-cell properties.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
index 2ac43221ddb6..69804c5f1197 100644
--- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
@@ -56,8 +56,6 @@
 
 			gpio_keys {
 				compatible = "gpio-keys";
-				#address-cells = <1>;
-				#size-cells = <0>;
 
 				power-button {
 					debounce_interval = <50>;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] arm64: dts: juno: drop unnecessary address-cells and size-cells properties
@ 2018-04-09 10:39 ` Sudeep Holla
  0 siblings, 0 replies; 6+ messages in thread
From: Sudeep Holla @ 2018-04-09 10:39 UTC (permalink / raw)
  To: linux-arm-kernel

/smb at 8000000/motherboard/gpio_keys node doesn't have "ranges" or "reg"
property in child nodes. So it's unnecessary to have address-cells
as well as size-cells properties which results in below warning.

Warning (avoid_unnecessary_addr_size):
/smb at 8000000/motherboard/gpio_keys:
	unnecessary #address-cells/#size-cells without "ranges" or child "reg"
	property

This patch drops the unnecessary address+size-cell properties.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
index 2ac43221ddb6..69804c5f1197 100644
--- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
@@ -56,8 +56,6 @@
 
 			gpio_keys {
 				compatible = "gpio-keys";
-				#address-cells = <1>;
-				#size-cells = <0>;
 
 				power-button {
 					debounce_interval = <50>;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] arm64: dts: juno: drop unnecessary address-cells and size-cells properties
  2018-04-09 10:39 ` Sudeep Holla
@ 2018-04-09 15:09   ` Sudeep Holla
  -1 siblings, 0 replies; 6+ messages in thread
From: Sudeep Holla @ 2018-04-09 15:09 UTC (permalink / raw)
  To: devicetree; +Cc: Lorenzo Pieralisi, Liviu Dudau, linux-arm-kernel, Sudeep Holla

/smb@8000000/motherboard/gpio_keys node doesn't have "ranges" or "reg"
property in child nodes. So it's unnecessary to have address-cells
as well as size-cells properties which results in below warning.

Warning (avoid_unnecessary_addr_size):
/smb@8000000/motherboard/gpio_keys:
	unnecessary #address-cells/#size-cells without "ranges" or child "reg"
	property

This patch drops the unnecessary address+size-cell properties.

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 2 --
 1 file changed, 2 deletions(-)

(Missed cc-ed people earlier)

diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
index 2ac43221ddb6..69804c5f1197 100644
--- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
@@ -56,8 +56,6 @@

 			gpio_keys {
 				compatible = "gpio-keys";
-				#address-cells = <1>;
-				#size-cells = <0>;

 				power-button {
 					debounce_interval = <50>;
--
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] arm64: dts: juno: drop unnecessary address-cells and size-cells properties
@ 2018-04-09 15:09   ` Sudeep Holla
  0 siblings, 0 replies; 6+ messages in thread
From: Sudeep Holla @ 2018-04-09 15:09 UTC (permalink / raw)
  To: linux-arm-kernel

/smb at 8000000/motherboard/gpio_keys node doesn't have "ranges" or "reg"
property in child nodes. So it's unnecessary to have address-cells
as well as size-cells properties which results in below warning.

Warning (avoid_unnecessary_addr_size):
/smb at 8000000/motherboard/gpio_keys:
	unnecessary #address-cells/#size-cells without "ranges" or child "reg"
	property

This patch drops the unnecessary address+size-cell properties.

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 2 --
 1 file changed, 2 deletions(-)

(Missed cc-ed people earlier)

diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
index 2ac43221ddb6..69804c5f1197 100644
--- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
@@ -56,8 +56,6 @@

 			gpio_keys {
 				compatible = "gpio-keys";
-				#address-cells = <1>;
-				#size-cells = <0>;

 				power-button {
 					debounce_interval = <50>;
--
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: juno: drop unnecessary address-cells and size-cells properties
  2018-04-09 15:09   ` Sudeep Holla
@ 2018-04-10  9:24     ` Liviu Dudau
  -1 siblings, 0 replies; 6+ messages in thread
From: Liviu Dudau @ 2018-04-10  9:24 UTC (permalink / raw)
  To: Sudeep Holla; +Cc: devicetree, Lorenzo Pieralisi, linux-arm-kernel

On Mon, Apr 09, 2018 at 04:09:20PM +0100, Sudeep Holla wrote:
> /smb@8000000/motherboard/gpio_keys node doesn't have "ranges" or "reg"
> property in child nodes. So it's unnecessary to have address-cells
> as well as size-cells properties which results in below warning.
> 
> Warning (avoid_unnecessary_addr_size):
> /smb@8000000/motherboard/gpio_keys:
> 	unnecessary #address-cells/#size-cells without "ranges" or child "reg"
> 	property
> 
> This patch drops the unnecessary address+size-cell properties.
> 
> Cc: Liviu Dudau <liviu.dudau@arm.com>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

Looks like the sensible thing to do!

Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>

Best regards,
Liviu

> ---
>  arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 2 --
>  1 file changed, 2 deletions(-)
> 
> (Missed cc-ed people earlier)
> 
> diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
> index 2ac43221ddb6..69804c5f1197 100644
> --- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
> +++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
> @@ -56,8 +56,6 @@
> 
>  			gpio_keys {
>  				compatible = "gpio-keys";
> -				#address-cells = <1>;
> -				#size-cells = <0>;
> 
>  				power-button {
>  					debounce_interval = <50>;
> --
> 2.7.4
> 

-- 
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] arm64: dts: juno: drop unnecessary address-cells and size-cells properties
@ 2018-04-10  9:24     ` Liviu Dudau
  0 siblings, 0 replies; 6+ messages in thread
From: Liviu Dudau @ 2018-04-10  9:24 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Apr 09, 2018 at 04:09:20PM +0100, Sudeep Holla wrote:
> /smb at 8000000/motherboard/gpio_keys node doesn't have "ranges" or "reg"
> property in child nodes. So it's unnecessary to have address-cells
> as well as size-cells properties which results in below warning.
> 
> Warning (avoid_unnecessary_addr_size):
> /smb at 8000000/motherboard/gpio_keys:
> 	unnecessary #address-cells/#size-cells without "ranges" or child "reg"
> 	property
> 
> This patch drops the unnecessary address+size-cell properties.
> 
> Cc: Liviu Dudau <liviu.dudau@arm.com>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

Looks like the sensible thing to do!

Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>

Best regards,
Liviu

> ---
>  arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 2 --
>  1 file changed, 2 deletions(-)
> 
> (Missed cc-ed people earlier)
> 
> diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
> index 2ac43221ddb6..69804c5f1197 100644
> --- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
> +++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
> @@ -56,8 +56,6 @@
> 
>  			gpio_keys {
>  				compatible = "gpio-keys";
> -				#address-cells = <1>;
> -				#size-cells = <0>;
> 
>  				power-button {
>  					debounce_interval = <50>;
> --
> 2.7.4
> 

-- 
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ?\_(?)_/?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-10  9:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-09 10:39 [PATCH] arm64: dts: juno: drop unnecessary address-cells and size-cells properties Sudeep Holla
2018-04-09 10:39 ` Sudeep Holla
2018-04-09 15:09 ` Sudeep Holla
2018-04-09 15:09   ` Sudeep Holla
2018-04-10  9:24   ` Liviu Dudau
2018-04-10  9:24     ` Liviu Dudau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.