serial: drop useless ctlr field
authorMike Frysinger <vapier@gentoo.org>
Fri, 29 Apr 2011 18:03:31 +0000 (18:03 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Jul 2011 14:38:05 +0000 (16:38 +0200)
commit1c9a5606d8ff0c664c9e83de38e93d5602312d79
tree127f24cf6771ff816bc7bc71b8e0c53eaa05380f
parentc52b4f794541c9aad15148ae8f4e1af775e3e776
serial: drop useless ctlr field

The multi serial support has a "ctlr" field which almost no one uses,
but everyone is forced to set to useless strings.  So punt it.

Funny enough, the only code that actually reads this field (the mpc8xx
driver) has a typo where it meant to look for the SCC driver.  Fix it
while converting the check to use the name field.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Heiko Schocher <hs@denx.de>
CC: Anatolij Gustschin <agust@denx.de>
CC: Tom Rix <Tom.Rix@windriver.com>
CC: Minkyu Kang <mk7.kang@samsung.com>
CC: Craig Nauman <cnauman@diagraph.com>
CC: Marek Vasut <marek.vasut@gmail.com>
CC: Prafulla Wadaskar <prafulla@marvell.com>
CC: Mahavir Jain <mjain@marvell.com>
arch/powerpc/cpu/mpc512x/serial.c
arch/powerpc/cpu/mpc5xxx/serial.c
arch/powerpc/cpu/mpc8xx/serial.c
board/logicpd/zoom2/zoom2_serial.h
drivers/serial/serial.c
drivers/serial/serial_pxa.c
drivers/serial/serial_s3c24x0.c
drivers/serial/serial_s5p.c
include/serial.h