m68knommu: simplify the 528x UART setup code
commitcae82a836de23b611054af9d8a6c9aeb1db639e1
authorGreg Ungerer <gerg@uclinux.org>
Fri, 23 Dec 2011 15:00:48 +0000 (24 01:00 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:07 +0000 (5 09:43 +1000)
tree64cc34bac36f5a8e317c52298694e929ac0b8a7d
parent1eb1391638633cdeb7dcaacd295bfcbec216ea8f
m68knommu: simplify the 528x 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/528x/config.c