From: NeilBrown <neilb@suse.de>
To: Alan Cox <alan@linux.intel.com>
Cc: linux-serial@vger.kernel.org, linux-omap@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Paul Walmsley <paul@pwsan.com>,
"Govindraj . R" <govindraj.raja@ti.com>,
NeilBrown <neilb@suse.de>
Subject: [PATCH 1/2] ARM: OMAP2+: UART: remove unused fields in omap_uart_state.
Date: Sun, 19 Feb 2012 13:29:31 +1100 [thread overview]
Message-ID: <20120219022931.8254.38314.stgit@notabene.brown> (raw)
In-Reply-To: <20120219022841.8254.86264.stgit@notabene.brown>
commit 2fd149645eb46d261 removed the last usage of 'can_sleep' but
did not remove the field.
commit 8612bd22f3036974 removed the last non-trivial use of 'pdev'.
So remove these fields and the one trivial use.
Acked-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: NeilBrown <neilb@suse.de>
---
arch/arm/mach-omap2/serial.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index f590afc..0cdd359 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -54,11 +54,9 @@
struct omap_uart_state {
int num;
- int can_sleep;
struct list_head node;
struct omap_hwmod *oh;
- struct platform_device *pdev;
};
static LIST_HEAD(uart_list);
@@ -381,8 +379,6 @@ void __init omap_serial_init_port(struct omap_board_data *bdata,
oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt);
- uart->pdev = pdev;
-
oh->dev_attr = uart;
if (((cpu_is_omap34xx() || cpu_is_omap44xx()) && bdata->pads)
WARNING: multiple messages have this Message-ID (diff)
From: neilb@suse.de (NeilBrown)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: OMAP2+: UART: remove unused fields in omap_uart_state.
Date: Sun, 19 Feb 2012 13:29:31 +1100 [thread overview]
Message-ID: <20120219022931.8254.38314.stgit@notabene.brown> (raw)
In-Reply-To: <20120219022841.8254.86264.stgit@notabene.brown>
commit 2fd149645eb46d261 removed the last usage of 'can_sleep' but
did not remove the field.
commit 8612bd22f3036974 removed the last non-trivial use of 'pdev'.
So remove these fields and the one trivial use.
Acked-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: NeilBrown <neilb@suse.de>
---
arch/arm/mach-omap2/serial.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index f590afc..0cdd359 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -54,11 +54,9 @@
struct omap_uart_state {
int num;
- int can_sleep;
struct list_head node;
struct omap_hwmod *oh;
- struct platform_device *pdev;
};
static LIST_HEAD(uart_list);
@@ -381,8 +379,6 @@ void __init omap_serial_init_port(struct omap_board_data *bdata,
oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt);
- uart->pdev = pdev;
-
oh->dev_attr = uart;
if (((cpu_is_omap34xx() || cpu_is_omap44xx()) && bdata->pads)
next prev parent reply other threads:[~2012-02-19 2:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-19 2:29 [PATCH 0/2] Two trivial omap/serial patches NeilBrown
2012-02-19 2:29 ` NeilBrown
2012-02-19 2:29 ` [PATCH 2/2] ARM: OMAP2: remove some orphan function declarations NeilBrown
2012-02-19 2:29 ` NeilBrown
2012-02-19 13:36 ` Shubhrajyoti
2012-02-19 13:36 ` Shubhrajyoti
2012-02-19 16:09 ` Sergei Shtylyov
2012-02-19 16:09 ` Sergei Shtylyov
2012-02-19 2:29 ` NeilBrown [this message]
2012-02-19 2:29 ` [PATCH 1/2] ARM: OMAP2+: UART: remove unused fields in omap_uart_state NeilBrown
2012-02-19 16:10 ` Sergei Shtylyov
2012-02-19 16:10 ` Sergei Shtylyov
2012-02-21 19:10 ` [PATCH 0/2] Two trivial omap/serial patches Kevin Hilman
2012-02-21 19:10 ` Kevin Hilman
2012-02-21 19:40 ` NeilBrown
2012-02-21 19:40 ` NeilBrown
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=20120219022931.8254.38314.stgit@notabene.brown \
--to=neilb@suse.de \
--cc=alan@linux.intel.com \
--cc=govindraj.raja@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=paul@pwsan.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 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.