diff options
author | NeilBrown <neilb@suse.de> | 2012-02-18 21:29:31 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-02-21 14:11:49 -0500 |
commit | 867e9f8d105004de85335414ab09e99338617e03 (patch) | |
tree | f884ded9d78ba5dbc5c87aeceaf694df6aea5d8f /arch/arm/mach-omap2/serial.c | |
parent | b01543dfe67bb1d191998e90d20534dc354de059 (diff) |
ARM: OMAP2+: UART: remove unused fields in omap_uart_state.
commit 2fd149645eb46d261 (ARM: OMAP2+: UART: Remove
omap_uart_can_sleep and add pm_qos) removed the last usage of
'can_sleep' but did not remove the field.
commit 8612bd22f3036974 (ARM: OMAP2+: UART: Avoid console uart idling
during bootup) 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>
[khilman@ti.com: minor changelog edits]
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | 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 f590afc1f673..0cdd359a128e 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -54,11 +54,9 @@ | |||
54 | 54 | ||
55 | struct omap_uart_state { | 55 | struct omap_uart_state { |
56 | int num; | 56 | int num; |
57 | int can_sleep; | ||
58 | 57 | ||
59 | struct list_head node; | 58 | struct list_head node; |
60 | struct omap_hwmod *oh; | 59 | struct omap_hwmod *oh; |
61 | struct platform_device *pdev; | ||
62 | }; | 60 | }; |
63 | 61 | ||
64 | static LIST_HEAD(uart_list); | 62 | static LIST_HEAD(uart_list); |
@@ -381,8 +379,6 @@ void __init omap_serial_init_port(struct omap_board_data *bdata, | |||
381 | 379 | ||
382 | oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt); | 380 | oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt); |
383 | 381 | ||
384 | uart->pdev = pdev; | ||
385 | |||
386 | oh->dev_attr = uart; | 382 | oh->dev_attr = uart; |
387 | 383 | ||
388 | if (((cpu_is_omap34xx() || cpu_is_omap44xx()) && bdata->pads) | 384 | if (((cpu_is_omap34xx() || cpu_is_omap44xx()) && bdata->pads) |