pmac-zilog: cleanup
Whitespace cleanups and comment typo fix. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
2724daf439
commit
1f7b5fff50
@@ -908,7 +908,6 @@ static int __pmz_startup(struct uart_pmac_port *uap)
|
||||
/* Remember status for DCD/CTS changes */
|
||||
uap->prev_status = read_zsreg(uap, R0);
|
||||
|
||||
|
||||
return pwr_delay;
|
||||
}
|
||||
|
||||
@@ -1051,7 +1050,6 @@ static void pmz_convert_to_zs(struct uart_pmac_port *uap, unsigned int cflag,
|
||||
{
|
||||
int brg;
|
||||
|
||||
|
||||
/* Switch to external clocking for IrDA high clock rates. That
|
||||
* code could be re-used for Midi interfaces with different
|
||||
* multipliers
|
||||
@@ -1590,7 +1588,7 @@ static void pmz_dispose_port(struct uart_pmac_port *uap)
|
||||
}
|
||||
|
||||
/*
|
||||
* Called upon match with an escc node in the devive-tree.
|
||||
* Called upon match with an escc node in the device-tree.
|
||||
*/
|
||||
static int pmz_attach(struct macio_dev *mdev, const struct of_device_id *match)
|
||||
{
|
||||
@@ -1908,8 +1906,7 @@ static struct of_device_id pmz_match[] =
|
||||
};
|
||||
MODULE_DEVICE_TABLE (of, pmz_match);
|
||||
|
||||
static struct macio_driver pmz_driver =
|
||||
{
|
||||
static struct macio_driver pmz_driver = {
|
||||
.name = "pmac_zilog",
|
||||
.match_table = pmz_match,
|
||||
.probe = pmz_attach,
|
||||
|
Reference in New Issue
Block a user