[POWERPC] typo fix and whitespace cleanup on mpc52xx-uart driver
Single typo fix and whitespace changes. In preparation for heavy changes to this driver when support for arch/powerpc is added. Since the driver will be changing significantly anyway, then may as well take the opportunity to clean it up first. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
872455e2ca
commit
9b9129e739
|
@ -1,6 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* drivers/serial/mpc52xx_uart.c
|
|
||||||
*
|
|
||||||
* Driver for the PSC of the Freescale MPC52xx PSCs configured as UARTs.
|
* Driver for the PSC of the Freescale MPC52xx PSCs configured as UARTs.
|
||||||
*
|
*
|
||||||
* FIXME According to the usermanual the status bits in the status register
|
* FIXME According to the usermanual the status bits in the status register
|
||||||
|
@ -771,7 +769,7 @@ mpc52xx_uart_suspend(struct platform_device *dev, pm_message_t state)
|
||||||
{
|
{
|
||||||
struct uart_port *port = (struct uart_port *) platform_get_drvdata(dev);
|
struct uart_port *port = (struct uart_port *) platform_get_drvdata(dev);
|
||||||
|
|
||||||
if (sport)
|
if (port)
|
||||||
uart_suspend_port(&mpc52xx_uart_driver, port);
|
uart_suspend_port(&mpc52xx_uart_driver, port);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue