linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 04/06] ARM: shmobile: Remove unused r8a7779 auxdata table
Date: Fri, 28 Jun 2013 19:30:07 +0900	[thread overview]
Message-ID: <20130628103007.31451.96485.sendpatchset@w520> (raw)
In-Reply-To: <20130628102930.31451.85334.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-r8a7779.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

--- 0001/arch/arm/mach-shmobile/setup-r8a7779.c
+++ work/arch/arm/mach-shmobile/setup-r8a7779.c	2013-06-28 15:49:50.000000000 +0900
@@ -665,10 +665,6 @@ void __init r8a7779_init_delay(void)
 	shmobile_setup_delay(1000, 2, 4); /* Cortex-A9 @ 1000MHz */
 }
 
-static const struct of_dev_auxdata r8a7779_auxdata_lookup[] __initconst = {
-	{},
-};
-
 void __init r8a7779_add_standard_devices_dt(void)
 {
 	/* clocks are setup late during boot in the case of DT */
@@ -676,8 +672,7 @@ void __init r8a7779_add_standard_devices
 
 	platform_add_devices(r8a7779_devices_dt,
 			     ARRAY_SIZE(r8a7779_devices_dt));
-	of_platform_populate(NULL, of_default_bus_match_table,
-			     r8a7779_auxdata_lookup, NULL);
+	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
 }
 
 static const char *r8a7779_compat_dt[] __initdata = {

  parent reply	other threads:[~2013-06-28 10:30 UTC|newest]

Thread overview: 10+ 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 ` [PATCH 01/06] ARM: shmobile: Remove unused EMEV2 auxdata table Magnus Damm
2013-06-28 10:29 ` [PATCH 02/06] ARM: shmobile: Remove unused r8a7740 " Magnus Damm
2013-06-28 10:29 ` [PATCH 03/06] ARM: shmobile: Remove unused r8a7778 " Magnus Damm
2013-06-28 11:50   ` Arnd Bergmann
2013-07-01  3:38     ` Magnus Damm
2013-06-28 10:30 ` Magnus Damm [this message]
2013-06-28 10:30 ` [PATCH 05/06] ARM: shmobile: Remove unused sh7372 " Magnus Damm
2013-06-28 10:30 ` [PATCH 06/06] ARM: shmobile: Remove unused sh73a0 " Magnus Damm
2013-06-28 13:26 ` [PATCH 00/06] ARM: shmobile: Remove unused auxdata tables 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=20130628103007.31451.96485.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 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).