From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] ARM: shmobile: marzen dts: Remove superfluous include
Date: Thu, 22 May 2014 12:50:47 +0000 [thread overview]
Message-ID: <2352184.UXetcfavus@avalon> (raw)
In-Reply-To: <1400761997-13512-3-git-send-email-geert+renesas@glider.be>
Hi Geert,
Thank you for the patch.
On Thursday 22 May 2014 14:33:17 Geert Uytterhoeven wrote:
> <dt-bindings/interrupt-controller/irq.h> is already included by
> r8a7779.dtsi.
Isn't it better, like with C code, to explicitly include headers that provide
the macros you need, instead of relying on implicit #include's that could
change later ? OK, in this specific case, it's very unlikely that r8a7779.dtsi
would stop including <dt-bindings/interrupt-controller/irq.h>, but in the
general case I believe explicit includes to be good practice.
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> arch/arm/boot/dts/r8a7779-marzen.dts | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts
> b/arch/arm/boot/dts/r8a7779-marzen.dts index 321290828eee..649129906d6f
> 100644
> --- a/arch/arm/boot/dts/r8a7779-marzen.dts
> +++ b/arch/arm/boot/dts/r8a7779-marzen.dts
> @@ -12,7 +12,6 @@
> /dts-v1/;
> #include "r8a7779.dtsi"
> #include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/interrupt-controller/irq.h>
>
> / {
> model = "marzen";
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: laurent.pinchart@ideasonboard.com (Laurent Pinchart)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: shmobile: marzen dts: Remove superfluous include
Date: Thu, 22 May 2014 14:50:47 +0200 [thread overview]
Message-ID: <2352184.UXetcfavus@avalon> (raw)
In-Reply-To: <1400761997-13512-3-git-send-email-geert+renesas@glider.be>
Hi Geert,
Thank you for the patch.
On Thursday 22 May 2014 14:33:17 Geert Uytterhoeven wrote:
> <dt-bindings/interrupt-controller/irq.h> is already included by
> r8a7779.dtsi.
Isn't it better, like with C code, to explicitly include headers that provide
the macros you need, instead of relying on implicit #include's that could
change later ? OK, in this specific case, it's very unlikely that r8a7779.dtsi
would stop including <dt-bindings/interrupt-controller/irq.h>, but in the
general case I believe explicit includes to be good practice.
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> arch/arm/boot/dts/r8a7779-marzen.dts | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts
> b/arch/arm/boot/dts/r8a7779-marzen.dts index 321290828eee..649129906d6f
> 100644
> --- a/arch/arm/boot/dts/r8a7779-marzen.dts
> +++ b/arch/arm/boot/dts/r8a7779-marzen.dts
> @@ -12,7 +12,6 @@
> /dts-v1/;
> #include "r8a7779.dtsi"
> #include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/interrupt-controller/irq.h>
>
> / {
> model = "marzen";
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Simon Horman <horms@verge.net.au>,
Magnus Damm <magnus.damm@gmail.com>,
linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH 2/2] ARM: shmobile: marzen dts: Remove superfluous include
Date: Thu, 22 May 2014 14:50:47 +0200 [thread overview]
Message-ID: <2352184.UXetcfavus@avalon> (raw)
In-Reply-To: <1400761997-13512-3-git-send-email-geert+renesas@glider.be>
Hi Geert,
Thank you for the patch.
On Thursday 22 May 2014 14:33:17 Geert Uytterhoeven wrote:
> <dt-bindings/interrupt-controller/irq.h> is already included by
> r8a7779.dtsi.
Isn't it better, like with C code, to explicitly include headers that provide
the macros you need, instead of relying on implicit #include's that could
change later ? OK, in this specific case, it's very unlikely that r8a7779.dtsi
would stop including <dt-bindings/interrupt-controller/irq.h>, but in the
general case I believe explicit includes to be good practice.
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> arch/arm/boot/dts/r8a7779-marzen.dts | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts
> b/arch/arm/boot/dts/r8a7779-marzen.dts index 321290828eee..649129906d6f
> 100644
> --- a/arch/arm/boot/dts/r8a7779-marzen.dts
> +++ b/arch/arm/boot/dts/r8a7779-marzen.dts
> @@ -12,7 +12,6 @@
> /dts-v1/;
> #include "r8a7779.dtsi"
> #include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/interrupt-controller/irq.h>
>
> / {
> model = "marzen";
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2014-05-22 12:50 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-22 12:33 [PATCH 0/2] ARM: shmobile: r8a7779/marzen CCF DT updates Geert Uytterhoeven
2014-05-22 12:33 ` Geert Uytterhoeven
2014-05-22 12:33 ` Geert Uytterhoeven
2014-05-22 12:33 ` [PATCH 1/2] ARM: shmobile: r8a7779 dtsi: Correct #address-cells/#size-cells for clocks Geert Uytterhoeven
2014-05-22 12:33 ` Geert Uytterhoeven
2014-05-22 12:33 ` Geert Uytterhoeven
2014-05-22 23:08 ` Laurent Pinchart
2014-05-22 23:08 ` Laurent Pinchart
2014-05-22 23:08 ` Laurent Pinchart
2014-05-23 6:55 ` Geert Uytterhoeven
2014-05-23 6:55 ` Geert Uytterhoeven
2014-05-23 6:55 ` Geert Uytterhoeven
2014-08-28 8:21 ` [PATCH 1/2] ARM: shmobile: r8a7779 dtsi: Use tabs for indentation Geert Uytterhoeven
2014-08-28 8:21 ` Geert Uytterhoeven
2014-08-28 8:21 ` [PATCH 2/2] ARM: shmobile: kzm9g-reference dts: " Geert Uytterhoeven
2014-08-28 8:21 ` Geert Uytterhoeven
2014-08-29 0:06 ` Simon Horman
2014-08-29 0:06 ` Simon Horman
2014-08-29 0:06 ` [PATCH 1/2] ARM: shmobile: r8a7779 dtsi: " Simon Horman
2014-08-29 0:06 ` Simon Horman
2014-05-22 12:33 ` [PATCH 2/2] ARM: shmobile: marzen dts: Remove superfluous include Geert Uytterhoeven
2014-05-22 12:33 ` Geert Uytterhoeven
2014-05-22 12:33 ` Geert Uytterhoeven
2014-05-22 12:50 ` Laurent Pinchart [this message]
2014-05-22 12:50 ` Laurent Pinchart
2014-05-22 12:50 ` Laurent Pinchart
2014-05-22 12:58 ` Geert Uytterhoeven
2014-05-22 12:58 ` Geert Uytterhoeven
2014-05-22 12:58 ` Geert Uytterhoeven
2014-05-23 0:51 ` Simon Horman
2014-05-23 0:51 ` Simon Horman
2014-05-23 0:51 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2352184.UXetcfavus@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.