From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 06/07] ARM: shmobile: Remove unused sh73a0 auxdata table
Date: Mon, 01 Jul 2013 05:42:04 +0000 [thread overview]
Message-ID: <20130701054204.19319.68354.sendpatchset@w520> (raw)
In-Reply-To: <20130701054106.19319.46845.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Pass NULL to of_platform_populate instead of passing
an empty list. This cleans up the code and reduces the
number of lines.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-sh73a0.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
--- 0001/arch/arm/mach-shmobile/setup-sh73a0.c
+++ work/arch/arm/mach-shmobile/setup-sh73a0.c 2013-06-28 19:16:07.000000000 +0900
@@ -958,10 +958,6 @@ void __init sh73a0_add_early_devices(voi
#ifdef CONFIG_USE_OF
-static const struct of_dev_auxdata sh73a0_auxdata_lookup[] __initconst = {
- {},
-};
-
void __init sh73a0_add_standard_devices_dt(void)
{
struct platform_device_info devinfo = { .name = "cpufreq-cpu0", .id = -1, };
@@ -971,8 +967,7 @@ void __init sh73a0_add_standard_devices_
platform_add_devices(sh73a0_devices_dt,
ARRAY_SIZE(sh73a0_devices_dt));
- of_platform_populate(NULL, of_default_bus_match_table,
- sh73a0_auxdata_lookup, NULL);
+ of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
/* Instantiate cpufreq-cpu0 */
platform_device_register_full(&devinfo);
WARNING: multiple messages have this Message-ID (diff)
From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 06/07] ARM: shmobile: Remove unused sh73a0 auxdata table
Date: Mon, 01 Jul 2013 14:42:04 +0900 [thread overview]
Message-ID: <20130701054204.19319.68354.sendpatchset@w520> (raw)
In-Reply-To: <20130701054106.19319.46845.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Pass NULL to of_platform_populate instead of passing
an empty list. This cleans up the code and reduces the
number of lines.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-sh73a0.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
--- 0001/arch/arm/mach-shmobile/setup-sh73a0.c
+++ work/arch/arm/mach-shmobile/setup-sh73a0.c 2013-06-28 19:16:07.000000000 +0900
@@ -958,10 +958,6 @@ void __init sh73a0_add_early_devices(voi
#ifdef CONFIG_USE_OF
-static const struct of_dev_auxdata sh73a0_auxdata_lookup[] __initconst = {
- {},
-};
-
void __init sh73a0_add_standard_devices_dt(void)
{
struct platform_device_info devinfo = { .name = "cpufreq-cpu0", .id = -1, };
@@ -971,8 +967,7 @@ void __init sh73a0_add_standard_devices_
platform_add_devices(sh73a0_devices_dt,
ARRAY_SIZE(sh73a0_devices_dt));
- of_platform_populate(NULL, of_default_bus_match_table,
- sh73a0_auxdata_lookup, NULL);
+ of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
/* Instantiate cpufreq-cpu0 */
platform_device_register_full(&devinfo);
next prev parent reply other threads:[~2013-07-01 5:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 5:41 [PATCH v2 00/07] ARM: shmobile: Remove unused auxdata and callbacks Magnus Damm
2013-07-01 5:41 ` Magnus Damm
2013-07-01 5:41 ` [PATCH 01/07] ARM: shmobile: Remove unused EMEV2 auxdata and callback Magnus Damm
2013-07-01 5:41 ` Magnus Damm
2013-07-01 5:41 ` [PATCH 02/07] ARM: shmobile: Remove unused r8a7740 auxdata table Magnus Damm
2013-07-01 5:41 ` Magnus Damm
2013-07-01 5:41 ` [PATCH 03/07] ARM: shmobile: Remove unused r8a7778 auxdata and callback Magnus Damm
2013-07-01 5:41 ` Magnus Damm
2013-07-01 5:41 ` [PATCH 04/07] ARM: shmobile: Remove unused r8a7779 auxdata table Magnus Damm
2013-07-01 5:41 ` Magnus Damm
2013-07-01 5:41 ` [PATCH 05/07] ARM: shmobile: Remove unused sh7372 " Magnus Damm
2013-07-01 5:41 ` Magnus Damm
2013-07-01 5:42 ` Magnus Damm [this message]
2013-07-01 5:42 ` [PATCH 06/07] ARM: shmobile: Remove unused sh73a0 " Magnus Damm
2013-07-01 5:42 ` [PATCH 07/07] ARM: shmobile: Remove redundant r8a7790 callback Magnus Damm
2013-07-01 5:42 ` Magnus Damm
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=20130701054204.19319.68354.sendpatchset@w520 \
--to=magnus.damm@gmail.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.