linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] of: Fix brace position for struct of_device_id definition
@ 2014-10-23 13:53 Daniel Thompson
  2015-01-05 15:43 ` [RESEND PATCH 3.19-rc2] " Daniel Thompson
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Thompson @ 2014-10-23 13:53 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Daniel Thompson, linux-kernel, patches, linaro-kernel,
	John Stultz, Sumit Semwal, Grant Likely, Rob Herring

Currently it is not easy to grep for the definition of struct of_device_id.
This is trivially fixed by moving the brace to the right place.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
---
 include/linux/mod_devicetable.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 44eeef0..0acc82d 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -220,8 +220,7 @@ struct serio_device_id {
 /*
  * Struct used for matching a device
  */
-struct of_device_id
-{
+struct of_device_id {
 	char	name[32];
 	char	type[32];
 	char	compatible[128];
--
1.9.3


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

* [RESEND PATCH 3.19-rc2] of: Fix brace position for struct of_device_id definition
  2014-10-23 13:53 [PATCH] of: Fix brace position for struct of_device_id definition Daniel Thompson
@ 2015-01-05 15:43 ` Daniel Thompson
  2015-02-04  2:34   ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Thompson @ 2015-01-05 15:43 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Daniel Thompson, linux-kernel, patches, linaro-kernel,
	John Stultz, Sumit Semwal, Grant Likely, Rob Herring

Currently it is not easy to grep for the definition of struct of_device_id.
This is trivially fixed by moving the brace to the right place.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
---
 include/linux/mod_devicetable.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 745def862580..bbf85d612be5 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -220,8 +220,7 @@ struct serio_device_id {
 /*
  * Struct used for matching a device
  */
-struct of_device_id
-{
+struct of_device_id {
 	char	name[32];
 	char	type[32];
 	char	compatible[128];
--
1.9.3


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

* Re: [RESEND PATCH 3.19-rc2] of: Fix brace position for struct of_device_id definition
  2015-01-05 15:43 ` [RESEND PATCH 3.19-rc2] " Daniel Thompson
@ 2015-02-04  2:34   ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2015-02-04  2:34 UTC (permalink / raw)
  To: Daniel Thompson
  Cc: Jiri Kosina, linux-kernel, Linaro Patches, linaro-kernel,
	John Stultz, Sumit Semwal, Grant Likely, Rob Herring

On Mon, Jan 5, 2015 at 9:43 AM, Daniel Thompson
<daniel.thompson@linaro.org> wrote:
> Currently it is not easy to grep for the definition of struct of_device_id.
> This is trivially fixed by moving the brace to the right place.

Applied. Thanks.

Rob

> Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
> Cc: Grant Likely <grant.likely@linaro.org>
> Cc: Rob Herring <robh+dt@kernel.org>
> ---
>  include/linux/mod_devicetable.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
> index 745def862580..bbf85d612be5 100644
> --- a/include/linux/mod_devicetable.h
> +++ b/include/linux/mod_devicetable.h
> @@ -220,8 +220,7 @@ struct serio_device_id {
>  /*
>   * Struct used for matching a device
>   */
> -struct of_device_id
> -{
> +struct of_device_id {
>         char    name[32];
>         char    type[32];
>         char    compatible[128];
> --
> 1.9.3
>

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

end of thread, other threads:[~2015-02-04  2:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-23 13:53 [PATCH] of: Fix brace position for struct of_device_id definition Daniel Thompson
2015-01-05 15:43 ` [RESEND PATCH 3.19-rc2] " Daniel Thompson
2015-02-04  2:34   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).