diff options
author | Peng Li <lipeng321@huawei.com> | 2021-06-05 15:00:29 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-07 12:25:21 -0700 |
commit | 0f1e7a34c053fd7b9a5ffa1b45cedf40a855c26e (patch) | |
tree | fb3c16fc207770492d15ca5a464632df094a94cd /drivers | |
parent | cb625e9c5d48e4a717653febaac6e32bda8a63f5 (diff) | |
download | linux-0f1e7a34c053fd7b9a5ffa1b45cedf40a855c26e.tar.bz2 |
net: hd64570: add some required spaces
Add space required before the open parenthesis '('.
Add space required after that close brace '}'.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wan/hd64570.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/hd64570.c b/drivers/net/wan/hd64570.c index 8af647c7b0c5..0d19e39fec86 100644 --- a/drivers/net/wan/hd64570.c +++ b/drivers/net/wan/hd64570.c @@ -376,7 +376,7 @@ static irqreturn_t sca_intr(int irq, void *dev_id) int handled = 0; u8 page = sca_get_page(card); - while((stat = sca_intr_status(card)) != 0) { + while ((stat = sca_intr_status(card)) != 0) { handled = 1; for (i = 0; i < 2; i++) { port_t *port = get_port(card, i); @@ -413,7 +413,7 @@ static void sca_set_port(port_t *port) /* Baud Rate = CLOCK_BASE / TMC / 2^BR */ tmc = CLOCK_BASE / brv / port->settings.clock_rate; - }while (br > 1 && tmc <= 128); + } while (br > 1 && tmc <= 128); if (tmc < 1) { tmc = 1; |