Jamie Iles 49d5741be2 8250: use container_of() instead of casting
The 8250 driver structure uart_8250_port took advantage of the fact
that the struct uart_port was the first member of its structure and
used an explicit cast to convert to the derived class. Replace the
explicit casts with container_of() for safety and clarity.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-10 15:19:37 -08:00
..
2010-11-06 07:49:56 -07:00
2010-10-29 00:29:51 +02:00
2010-10-29 04:16:28 -04:00
2010-10-28 20:31:50 +02:00
2010-10-30 08:31:35 -07:00
2010-11-11 11:35:58 -08:00
2010-10-29 04:16:28 -04:00