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-10-22 10:20:10 -07:00
2009-09-19 13:13:19 -07:00
2010-09-20 16:30:00 -07:00
2009-09-19 13:13:28 -07:00
2010-10-28 12:13:27 +02:00
2009-09-19 13:13:28 -07:00
2010-11-30 17:25:46 -08:00
2010-12-10 15:17:19 -08:00
2010-10-22 15:34:12 -05:00
2009-09-19 13:13:28 -07:00
2010-08-10 13:47:46 -07:00
2010-06-04 13:37:16 -07:00
2010-06-04 13:37:16 -07:00
2009-09-19 13:13:28 -07:00
2010-11-30 17:23:44 -08:00
2010-02-27 18:31:02 +01:00
2009-09-19 13:13:28 -07:00
2010-10-22 10:20:04 -07:00