From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] openfirmware: trivial: Standardise formatting of 'struct of_device_id' definition
Date: Mon, 10 Feb 2014 14:40:13 +0000 [thread overview]
Message-ID: <20140210144013.GA26697@lee--X1> (raw)
In-Reply-To: <1390489239-29001-1-git-send-email-lee.jones@linaro.org>
> It's commonly accepted that when defining a struct the '{' is appended
> onto the first line. This helps when searching for the definition using
> syntax similar to 'struct of_device_id {'.
>
> Signed-off-by: Lee Jones <lee.jones@linaro.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 45e9214..090e014 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];
Is anyone interested in this patch?
Or should is it okay to just take it through my tree?
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
prev parent reply other threads:[~2014-02-10 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-23 15:00 [PATCH 1/1] openfirmware: trivial: Standardise formatting of 'struct of_device_id' definition Lee Jones
2014-02-10 14:40 ` Lee Jones [this message]
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=20140210144013.GA26697@lee--X1 \
--to=lee.jones@linaro.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox