m68knommu: simplify the 5272 UART setup code
authorGreg Ungerer <gerg@uclinux.org>
Fri, 23 Dec 2011 14:56:52 +0000 (00:56 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:07 +0000 (09:43 +1000)
commit6b656e8a74ca81e04b281a135a49df76ada28a41
tree72d4b8b1d895bddfdf8e6d4b81f309a443ead23f
parent43d94b7f929aa293e8d4845d0b7f754b534d4575
m68knommu: simplify the 5272 UART setup code

Simplify the UART setup code so that it no longer loops for each UART
present. Just make it do all the work it needs in a single function.
This will make the code easier to share when we move to a single set
of platform data for ColdFire UARTs.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/5272/config.c