From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: at91: remove trailing semicolon from macros
Date: Mon, 8 Apr 2013 17:49:24 +0200 [thread overview]
Message-ID: <5162E704.4020805@atmel.com> (raw)
In-Reply-To: <1365346199-29525-2-git-send-email-jhovold@gmail.com>
On 04/07/2013 04:49 PM, Johan Hovold :
> Remove trailing semicolon from register-access macros.
>
> Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Now in at91-3.10-cleanup. Thanks,
> ---
> arch/arm/mach-at91/at91_rstc.h | 2 +-
> arch/arm/mach-at91/at91_shdwc.h | 2 +-
> arch/arm/mach-at91/at91x40_time.c | 2 +-
> arch/arm/mach-at91/include/mach/at91_matrix.h | 2 +-
> arch/arm/mach-at91/include/mach/at91_st.h | 2 +-
> 5 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/mach-at91/at91_rstc.h b/arch/arm/mach-at91/at91_rstc.h
> index 875fa33..a600e69 100644
> --- a/arch/arm/mach-at91/at91_rstc.h
> +++ b/arch/arm/mach-at91/at91_rstc.h
> @@ -23,7 +23,7 @@ extern void __iomem *at91_rstc_base;
> __raw_readl(at91_rstc_base + field)
>
> #define at91_rstc_write(field, value) \
> - __raw_writel(value, at91_rstc_base + field);
> + __raw_writel(value, at91_rstc_base + field)
> #else
> .extern at91_rstc_base
> #endif
> diff --git a/arch/arm/mach-at91/at91_shdwc.h b/arch/arm/mach-at91/at91_shdwc.h
> index 60478ea..9e29f31 100644
> --- a/arch/arm/mach-at91/at91_shdwc.h
> +++ b/arch/arm/mach-at91/at91_shdwc.h
> @@ -23,7 +23,7 @@ extern void __iomem *at91_shdwc_base;
> __raw_readl(at91_shdwc_base + field)
>
> #define at91_shdwc_write(field, value) \
> - __raw_writel(value, at91_shdwc_base + field);
> + __raw_writel(value, at91_shdwc_base + field)
> #endif
>
> #define AT91_SHDW_CR 0x00 /* Shut Down Control Register */
> diff --git a/arch/arm/mach-at91/at91x40_time.c b/arch/arm/mach-at91/at91x40_time.c
> index 0e57e44..f4c81c2 100644
> --- a/arch/arm/mach-at91/at91x40_time.c
> +++ b/arch/arm/mach-at91/at91x40_time.c
> @@ -33,7 +33,7 @@
> __raw_readl(AT91_IO_P2V(AT91_TC) + field)
>
> #define at91_tc_write(field, value) \
> - __raw_writel(value, AT91_IO_P2V(AT91_TC) + field);
> + __raw_writel(value, AT91_IO_P2V(AT91_TC) + field)
>
> /*
> * 3 counter/timer units present.
> diff --git a/arch/arm/mach-at91/include/mach/at91_matrix.h b/arch/arm/mach-at91/include/mach/at91_matrix.h
> index 02fae9d..f8996c9 100644
> --- a/arch/arm/mach-at91/include/mach/at91_matrix.h
> +++ b/arch/arm/mach-at91/include/mach/at91_matrix.h
> @@ -14,7 +14,7 @@ extern void __iomem *at91_matrix_base;
> __raw_readl(at91_matrix_base + field)
>
> #define at91_matrix_write(field, value) \
> - __raw_writel(value, at91_matrix_base + field);
> + __raw_writel(value, at91_matrix_base + field)
>
> #else
> .extern at91_matrix_base
> diff --git a/arch/arm/mach-at91/include/mach/at91_st.h b/arch/arm/mach-at91/include/mach/at91_st.h
> index 969aac2..67fdbd1 100644
> --- a/arch/arm/mach-at91/include/mach/at91_st.h
> +++ b/arch/arm/mach-at91/include/mach/at91_st.h
> @@ -23,7 +23,7 @@ extern void __iomem *at91_st_base;
> __raw_readl(at91_st_base + field)
>
> #define at91_st_write(field, value) \
> - __raw_writel(value, at91_st_base + field);
> + __raw_writel(value, at91_st_base + field)
> #else
> .extern at91_st_base
> #endif
>
--
Nicolas Ferre
WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Johan Hovold <jhovold@gmail.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <trivial@kernel.org>
Subject: Re: [PATCH 2/2] ARM: at91: remove trailing semicolon from macros
Date: Mon, 8 Apr 2013 17:49:24 +0200 [thread overview]
Message-ID: <5162E704.4020805@atmel.com> (raw)
In-Reply-To: <1365346199-29525-2-git-send-email-jhovold@gmail.com>
On 04/07/2013 04:49 PM, Johan Hovold :
> Remove trailing semicolon from register-access macros.
>
> Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Now in at91-3.10-cleanup. Thanks,
> ---
> arch/arm/mach-at91/at91_rstc.h | 2 +-
> arch/arm/mach-at91/at91_shdwc.h | 2 +-
> arch/arm/mach-at91/at91x40_time.c | 2 +-
> arch/arm/mach-at91/include/mach/at91_matrix.h | 2 +-
> arch/arm/mach-at91/include/mach/at91_st.h | 2 +-
> 5 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/mach-at91/at91_rstc.h b/arch/arm/mach-at91/at91_rstc.h
> index 875fa33..a600e69 100644
> --- a/arch/arm/mach-at91/at91_rstc.h
> +++ b/arch/arm/mach-at91/at91_rstc.h
> @@ -23,7 +23,7 @@ extern void __iomem *at91_rstc_base;
> __raw_readl(at91_rstc_base + field)
>
> #define at91_rstc_write(field, value) \
> - __raw_writel(value, at91_rstc_base + field);
> + __raw_writel(value, at91_rstc_base + field)
> #else
> .extern at91_rstc_base
> #endif
> diff --git a/arch/arm/mach-at91/at91_shdwc.h b/arch/arm/mach-at91/at91_shdwc.h
> index 60478ea..9e29f31 100644
> --- a/arch/arm/mach-at91/at91_shdwc.h
> +++ b/arch/arm/mach-at91/at91_shdwc.h
> @@ -23,7 +23,7 @@ extern void __iomem *at91_shdwc_base;
> __raw_readl(at91_shdwc_base + field)
>
> #define at91_shdwc_write(field, value) \
> - __raw_writel(value, at91_shdwc_base + field);
> + __raw_writel(value, at91_shdwc_base + field)
> #endif
>
> #define AT91_SHDW_CR 0x00 /* Shut Down Control Register */
> diff --git a/arch/arm/mach-at91/at91x40_time.c b/arch/arm/mach-at91/at91x40_time.c
> index 0e57e44..f4c81c2 100644
> --- a/arch/arm/mach-at91/at91x40_time.c
> +++ b/arch/arm/mach-at91/at91x40_time.c
> @@ -33,7 +33,7 @@
> __raw_readl(AT91_IO_P2V(AT91_TC) + field)
>
> #define at91_tc_write(field, value) \
> - __raw_writel(value, AT91_IO_P2V(AT91_TC) + field);
> + __raw_writel(value, AT91_IO_P2V(AT91_TC) + field)
>
> /*
> * 3 counter/timer units present.
> diff --git a/arch/arm/mach-at91/include/mach/at91_matrix.h b/arch/arm/mach-at91/include/mach/at91_matrix.h
> index 02fae9d..f8996c9 100644
> --- a/arch/arm/mach-at91/include/mach/at91_matrix.h
> +++ b/arch/arm/mach-at91/include/mach/at91_matrix.h
> @@ -14,7 +14,7 @@ extern void __iomem *at91_matrix_base;
> __raw_readl(at91_matrix_base + field)
>
> #define at91_matrix_write(field, value) \
> - __raw_writel(value, at91_matrix_base + field);
> + __raw_writel(value, at91_matrix_base + field)
>
> #else
> .extern at91_matrix_base
> diff --git a/arch/arm/mach-at91/include/mach/at91_st.h b/arch/arm/mach-at91/include/mach/at91_st.h
> index 969aac2..67fdbd1 100644
> --- a/arch/arm/mach-at91/include/mach/at91_st.h
> +++ b/arch/arm/mach-at91/include/mach/at91_st.h
> @@ -23,7 +23,7 @@ extern void __iomem *at91_st_base;
> __raw_readl(at91_st_base + field)
>
> #define at91_st_write(field, value) \
> - __raw_writel(value, at91_st_base + field);
> + __raw_writel(value, at91_st_base + field)
> #else
> .extern at91_st_base
> #endif
>
--
Nicolas Ferre
next prev parent reply other threads:[~2013-04-08 15:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-07 14:49 [PATCH 1/2] ARM: at91/setup: fix trivial typos Johan Hovold
2013-04-07 14:49 ` Johan Hovold
2013-04-07 14:49 ` [PATCH 2/2] ARM: at91: remove trailing semicolon from macros Johan Hovold
2013-04-07 14:49 ` Johan Hovold
2013-04-08 15:49 ` Nicolas Ferre [this message]
2013-04-08 15:49 ` Nicolas Ferre
2013-04-08 15:47 ` [PATCH 1/2] ARM: at91/setup: fix trivial typos Nicolas Ferre
2013-04-08 15:47 ` Nicolas Ferre
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=5162E704.4020805@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.