aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/8250_acorn.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2008-02-08 07:21:08 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:37 -0500
commitc811ab8c2daf6bc2b5761937929a62fa84b18b32 (patch)
tree2a3d5be5b449bc470a170efa771b404d06f5d17d /drivers/serial/8250_acorn.c
parent6433471d33c09d69d029b1c4b7bdd1612c492587 (diff)
atmel_serial: use container_of instead of direct cast
As pointed out by David Brownell, we really ought to be using container_of when converting from "struct uart_port *" to "struct atmel_uart_port *". Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Cc: Andrew Victor <linux@maxim.org.za> Tested-by: Marc Pignat <marc.pignat@hevs.ch> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/8250_acorn.c')
0 files changed, 0 insertions, 0 deletions