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