From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: at91: remove useless init_time for DT-only SoCs
Date: Mon, 10 Nov 2014 10:37:15 +0100 [thread overview]
Message-ID: <5460874B.7070107@atmel.com> (raw)
In-Reply-To: <1415611932-7765-1-git-send-email-boris.brezillon@free-electrons.com>
On 10/11/2014 10:32, Boris Brezillon :
> init_time is only needed when booting non-DT boards, we can thus safely
> remove init_time functions.
>
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Thanks Boris.
Olof, can you please take this patch on top of the one you wrote to fix
at91 cleanup branch ([PATCH] ARM: at91: fix build breakage due to legacy
board removals) ?
I integrate also Olof's patch and this one on top of my
at91-3.19-cleanup branch to be able to stack more material and send it
to arm-soc afterwards.
Thanks, bye.
> ---
> Changes since v1:
> - rebased on arm-soc branch
>
> arch/arm/mach-at91/at91sam9g45.c | 7 -------
> arch/arm/mach-at91/at91sam9rl.c | 7 -------
> 2 files changed, 14 deletions(-)
>
> diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c
> index 042f7c6..2ad0db4 100644
> --- a/arch/arm/mach-at91/at91sam9g45.c
> +++ b/arch/arm/mach-at91/at91sam9g45.c
> @@ -11,7 +11,6 @@
> */
>
> #include <asm/system_misc.h>
> -#include <asm/irq.h>
> #include <mach/cpu.h>
> #include <mach/hardware.h>
>
> @@ -35,13 +34,7 @@ static void __init at91sam9g45_initialize(void)
> at91_sysirq_mask_rtt(AT91SAM9G45_BASE_RTT);
> }
>
> -static void __init at91sam9g45_init_time(void)
> -{
> - at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS);
> -}
> -
> AT91_SOC_START(at91sam9g45)
> .map_io = at91sam9g45_map_io,
> .init = at91sam9g45_initialize,
> - .init_time = at91sam9g45_init_time,
> AT91_SOC_END
> diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c
> index 97efb2e..bd7e568 100644
> --- a/arch/arm/mach-at91/at91sam9rl.c
> +++ b/arch/arm/mach-at91/at91sam9rl.c
> @@ -10,7 +10,6 @@
> */
>
> #include <asm/system_misc.h>
> -#include <asm/irq.h>
> #include <mach/cpu.h>
> #include <mach/at91_dbgu.h>
> #include <mach/hardware.h>
> @@ -47,13 +46,7 @@ static void __init at91sam9rl_initialize(void)
> at91_sysirq_mask_rtt(AT91SAM9RL_BASE_RTT);
> }
>
> -static void __init at91sam9rl_init_time(void)
> -{
> - at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS);
> -}
> -
> AT91_SOC_START(at91sam9rl)
> .map_io = at91sam9rl_map_io,
> .init = at91sam9rl_initialize,
> - .init_time = at91sam9rl_init_time,
> AT91_SOC_END
>
--
Nicolas Ferre
prev parent reply other threads:[~2014-11-10 9:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 9:32 [PATCH v2] ARM: at91: remove useless init_time for DT-only SoCs Boris Brezillon
2014-11-10 9:37 ` Nicolas Ferre [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=5460874B.7070107@atmel.com \
--to=nicolas.ferre@atmel.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.