m68knommu: simplify the 5407 UART setup code
authorGreg Ungerer <gerg@uclinux.org>
Fri, 23 Dec 2011 15:06:06 +0000 (01:06 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:07 +0000 (09:43 +1000)
commitb77fb7faa9c80021e885749f8e4cf84a4981c8ba
treecc48859c8a558e98997ed1bdbb6d61d09729d976
parenta75bc61952fdc903a7434acb25b20ec703c23803
m68knommu: simplify the 5407 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/5407/config.c