m68knommu: simplify the 5249 UART setup code
commit43d94b7f929aa293e8d4845d0b7f754b534d4575
authorGreg Ungerer <gerg@uclinux.org>
Fri, 23 Dec 2011 14:55:49 +0000 (24 00:55 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:06 +0000 (5 09:43 +1000)
tree55805d8ad330a2f9be18a9194197219b64e440fc
parentb92225c7164dd75bca6bb0ebbac1355998fac8ba
m68knommu: simplify the 5249 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/5249/config.c