powerpc/mpc5200: fix error paths in PSC UART probe function
authorWolfram Sang <w.sang@pengutronix.de>
Sun, 21 Dec 2008 09:54:32 +0000 (02:54 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 21 Dec 2008 09:54:32 +0000 (02:54 -0700)
commit418441d9ebe84b205cb23eb0ab214c1f991621fe
treee0618291d7162abf04a478155ab7553b02213fb2
parentaec739e010f8163eac225f4e331ac7fbd59ac5c8
powerpc/mpc5200: fix error paths in PSC UART probe function

- error cases for mapbase and irq were unbundled
- mapped irq now gets disposed on error

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/serial/mpc52xx_uart.c