From: Krzysztof Kozlowski <krzk@kernel.org>
To: Yoshinori Sato <ysato@users.sourceforge.jp>,
Rich Felker <dalias@libc.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH] sh: sh4a: Remove unused tmu3_device
Date: Wed, 08 Jan 2020 19:45:20 +0000 [thread overview]
Message-ID: <20200108194520.3341-1-krzk@kernel.org> (raw)
Remove left-over from previous cleanups to silence the warning:
arch/sh/kernel/cpu/sh4a/setup-sh7786.c:243:31:
warning: ‘tmu3_device’ defined but not used [-Wunused-variable]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
arch/sh/kernel/cpu/sh4a/setup-sh7786.c | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
index 4b0db8259e3d..22d1c38f742f 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
@@ -229,27 +229,6 @@ static struct platform_device tmu2_device = {
.num_resources = ARRAY_SIZE(tmu2_resources),
};
-static struct sh_timer_config tmu3_platform_data = {
- .channels_mask = 7,
-};
-
-static struct resource tmu3_resources[] = {
- DEFINE_RES_MEM(0xffde0000, 0x2c),
- DEFINE_RES_IRQ(evt2irq(0x7c0)),
- DEFINE_RES_IRQ(evt2irq(0x7c0)),
- DEFINE_RES_IRQ(evt2irq(0x7c0)),
-};
-
-static struct platform_device tmu3_device = {
- .name = "sh-tmu",
- .id = 3,
- .dev = {
- .platform_data = &tmu3_platform_data,
- },
- .resource = tmu3_resources,
- .num_resources = ARRAY_SIZE(tmu3_resources),
-};
-
static const struct sh_dmae_channel dmac0_channels[] = {
{
.offset = 0,
--
2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Yoshinori Sato <ysato@users.sourceforge.jp>,
Rich Felker <dalias@libc.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH] sh: sh4a: Remove unused tmu3_device
Date: Wed, 8 Jan 2020 20:45:20 +0100 [thread overview]
Message-ID: <20200108194520.3341-1-krzk@kernel.org> (raw)
Remove left-over from previous cleanups to silence the warning:
arch/sh/kernel/cpu/sh4a/setup-sh7786.c:243:31:
warning: ‘tmu3_device’ defined but not used [-Wunused-variable]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
arch/sh/kernel/cpu/sh4a/setup-sh7786.c | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
index 4b0db8259e3d..22d1c38f742f 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
@@ -229,27 +229,6 @@ static struct platform_device tmu2_device = {
.num_resources = ARRAY_SIZE(tmu2_resources),
};
-static struct sh_timer_config tmu3_platform_data = {
- .channels_mask = 7,
-};
-
-static struct resource tmu3_resources[] = {
- DEFINE_RES_MEM(0xffde0000, 0x2c),
- DEFINE_RES_IRQ(evt2irq(0x7c0)),
- DEFINE_RES_IRQ(evt2irq(0x7c0)),
- DEFINE_RES_IRQ(evt2irq(0x7c0)),
-};
-
-static struct platform_device tmu3_device = {
- .name = "sh-tmu",
- .id = 3,
- .dev = {
- .platform_data = &tmu3_platform_data,
- },
- .resource = tmu3_resources,
- .num_resources = ARRAY_SIZE(tmu3_resources),
-};
-
static const struct sh_dmae_channel dmac0_channels[] = {
{
.offset = 0,
--
2.17.1
next reply other threads:[~2020-01-08 19:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 19:45 Krzysztof Kozlowski [this message]
2020-01-08 19:45 ` [PATCH] sh: sh4a: Remove unused tmu3_device Krzysztof Kozlowski
2020-01-09 12:56 ` Geert Uytterhoeven
2020-01-09 12:56 ` Geert Uytterhoeven
2020-01-18 8:01 ` Krzysztof Kozlowski
2020-01-18 8:01 ` Krzysztof Kozlowski
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=20200108194520.3341-1-krzk@kernel.org \
--to=krzk@kernel.org \
--cc=dalias@libc.org \
--cc=geert+renesas@glider.be \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=ysato@users.sourceforge.jp \
/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.