From: Felipe Balbi <balbi@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
Felipe Balbi <balbi@ti.com>
Subject: [PATCH 4/4] cbus: retu: drop useless platform_data
Date: Mon, 17 Oct 2011 23:50:43 +0300 [thread overview]
Message-ID: <1318884643-4137-4-git-send-email-balbi@ti.com> (raw)
In-Reply-To: <1318884643-4137-1-git-send-email-balbi@ti.com>
there's no need for that at all.
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
arch/arm/mach-omap1/board-nokia770.c | 5 -----
arch/arm/mach-omap2/board-n8x0.c | 5 -----
include/linux/platform_data/cbus.h | 4 ----
3 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c
index 3a72a44..62533cd 100644
--- a/arch/arm/mach-omap1/board-nokia770.c
+++ b/arch/arm/mach-omap1/board-nokia770.c
@@ -123,17 +123,12 @@ static struct resource retu_resource[] = {
},
};
-static struct cbus_retu_platform_data nokia770_retu_data = {
- .devid = CBUS_RETU_DEVICE_ID,
-};
-
static struct platform_device retu_device = {
.name = "retu",
.id = -1,
.resource = retu_resource,
.num_resources = ARRAY_SIZE(retu_resource),
.dev = {
- .platform_data = &nokia770_retu_data,
.parent = &nokia770_cbus_device.dev,
},
};
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
index bf2e51f..1cbacde 100644
--- a/arch/arm/mach-omap2/board-n8x0.c
+++ b/arch/arm/mach-omap2/board-n8x0.c
@@ -219,17 +219,12 @@ static struct resource retu_resource[] = {
},
};
-static struct cbus_retu_platform_data n8x0_retu_data = {
- .devid = CBUS_RETU_DEVICE_ID,
-};
-
static struct platform_device retu_device = {
.name = "retu",
.id = -1,
.resource = retu_resource,
.num_resources = ARRAY_SIZE(retu_resource),
.dev = {
- .platform_data = &n8x0_retu_data,
.parent = &n8x0_cbus_device.dev,
},
};
diff --git a/include/linux/platform_data/cbus.h b/include/linux/platform_data/cbus.h
index 5bd9211..7a977e1 100644
--- a/include/linux/platform_data/cbus.h
+++ b/include/linux/platform_data/cbus.h
@@ -28,8 +28,4 @@ struct cbus_host_platform_data {
int sel_gpio;
};
-struct cbus_retu_platform_data {
- int devid;
-};
-
#endif /* __INCLUDE_LINUX_CBUS_H */
--
1.7.7
next prev parent reply other threads:[~2011-10-17 20:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 20:50 [PATCH 1/4] cbus: add of_match_table Felipe Balbi
2011-10-17 20:50 ` [PATCH 2/4] cbus: retu: no need to pass devid via pdata Felipe Balbi
2011-10-17 20:50 ` [PATCH 3/4] cbus: move device IDs to local header Felipe Balbi
2011-10-17 20:50 ` Felipe Balbi [this message]
2011-11-03 21:45 ` [PATCH 1/4] cbus: add of_match_table Tony Lindgren
2011-11-04 9:13 ` Felipe Balbi
2011-11-04 12:42 ` Cousson, Benoit
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=1318884643-4137-4-git-send-email-balbi@ti.com \
--to=balbi@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/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).