From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 03/06] ARM: shmobile: Remove unused r8a7778 auxdata table
Date: Fri, 28 Jun 2013 11:50:40 +0000 [thread overview]
Message-ID: <201306281350.40472.arnd@arndb.de> (raw)
In-Reply-To: <20130628102958.31451.56355.sendpatchset@w520>
On Friday 28 June 2013, Magnus Damm wrote:
> ach-shmobile/setup-r8a7778.c
> +++ work/arch/arm/mach-shmobile/setup-r8a7778.c 2013-06-28 15:48:43.000000000 +0900
> @@ -457,14 +457,9 @@ void __init r8a7778_init_irq_dt(void)
> r8a7778_init_irq_common();
> }
>
> -static const struct of_dev_auxdata r8a7778_auxdata_lookup[] __initconst = {
> - {},
> -};
> -
> void __init r8a7778_add_standard_devices_dt(void)
> {
> - of_platform_populate(NULL, of_default_bus_match_table,
> - r8a7778_auxdata_lookup, NULL);
> + of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
> }
>
> static const char *r8a7778_compat_dt[] __initdata = {
Since this is now the trivial form of the function, you can
drop r8a7778_add_standard_devices_dt entirely and have a NULL
init_machine pointer. Same for the first two patches.
Arnd
WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 03/06] ARM: shmobile: Remove unused r8a7778 auxdata table
Date: Fri, 28 Jun 2013 13:50:40 +0200 [thread overview]
Message-ID: <201306281350.40472.arnd@arndb.de> (raw)
In-Reply-To: <20130628102958.31451.56355.sendpatchset@w520>
On Friday 28 June 2013, Magnus Damm wrote:
> ach-shmobile/setup-r8a7778.c
> +++ work/arch/arm/mach-shmobile/setup-r8a7778.c 2013-06-28 15:48:43.000000000 +0900
> @@ -457,14 +457,9 @@ void __init r8a7778_init_irq_dt(void)
> r8a7778_init_irq_common();
> }
>
> -static const struct of_dev_auxdata r8a7778_auxdata_lookup[] __initconst = {
> - {},
> -};
> -
> void __init r8a7778_add_standard_devices_dt(void)
> {
> - of_platform_populate(NULL, of_default_bus_match_table,
> - r8a7778_auxdata_lookup, NULL);
> + of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
> }
>
> static const char *r8a7778_compat_dt[] __initdata = {
Since this is now the trivial form of the function, you can
drop r8a7778_add_standard_devices_dt entirely and have a NULL
init_machine pointer. Same for the first two patches.
Arnd
next prev parent reply other threads:[~2013-06-28 11:50 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-28 10:29 [PATCH 00/06] ARM: shmobile: Remove unused auxdata tables Magnus Damm
2013-06-28 10:29 ` Magnus Damm
2013-06-28 10:29 ` [PATCH 01/06] ARM: shmobile: Remove unused EMEV2 auxdata table Magnus Damm
2013-06-28 10:29 ` Magnus Damm
2013-06-28 10:29 ` [PATCH 02/06] ARM: shmobile: Remove unused r8a7740 " Magnus Damm
2013-06-28 10:29 ` Magnus Damm
2013-06-28 10:29 ` [PATCH 03/06] ARM: shmobile: Remove unused r8a7778 " Magnus Damm
2013-06-28 10:29 ` Magnus Damm
2013-06-28 11:50 ` Arnd Bergmann [this message]
2013-06-28 11:50 ` Arnd Bergmann
2013-07-01 3:38 ` Magnus Damm
2013-07-01 3:38 ` Magnus Damm
2013-06-28 10:30 ` [PATCH 04/06] ARM: shmobile: Remove unused r8a7779 " Magnus Damm
2013-06-28 10:30 ` Magnus Damm
2013-06-28 10:30 ` [PATCH 05/06] ARM: shmobile: Remove unused sh7372 " Magnus Damm
2013-06-28 10:30 ` Magnus Damm
2013-06-28 10:30 ` [PATCH 06/06] ARM: shmobile: Remove unused sh73a0 " Magnus Damm
2013-06-28 10:30 ` Magnus Damm
2013-06-28 13:26 ` [PATCH 00/06] ARM: shmobile: Remove unused auxdata tables Sergei Shtylyov
2013-06-28 13:26 ` Sergei Shtylyov
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=201306281350.40472.arnd@arndb.de \
--to=arnd@arndb.de \
--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.