serial_txx9: use container_of() instead of direct cast
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 1 Oct 2009 22:44:22 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:15 +0000 (16:11 -0700)
commitaa76224a38530f9c69d1670c47fdeea30a420a73
treec2a2b3a236a05d6bcdf31e539fe47100f8c1263d
parent00acfaeead211562cc5f88882c47bf1cb16c041a
serial_txx9: use container_of() instead of direct cast

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/serial_txx9.c