Commit d0f66df5 authored by Oscar Forner Martinez's avatar Oscar Forner Martinez Committed by Kalle Valo

bcma: fix three coding style issues, more than 80 characters per line

Three lines with more than 80 characters per line have been split in several lines.
Signed-off-by: default avatarOscar Forner Martinez <oscar.forner.martinez@gmail.com>
Acked-by: default avatarRafa? Mi?ecki <zajec5@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 4447d815
...@@ -79,7 +79,9 @@ static int bcma_chipco_watchdog_ticks_per_ms(struct bcma_drv_cc *cc) ...@@ -79,7 +79,9 @@ static int bcma_chipco_watchdog_ticks_per_ms(struct bcma_drv_cc *cc)
if (cc->capabilities & BCMA_CC_CAP_PMU) { if (cc->capabilities & BCMA_CC_CAP_PMU) {
if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706)
/* 4706 CC and PMU watchdogs are clocked at 1/4 of ALP clock */ /* 4706 CC and PMU watchdogs are clocked at 1/4 of ALP
* clock
*/
return bcma_chipco_get_alp_clock(cc) / 4000; return bcma_chipco_get_alp_clock(cc) / 4000;
else else
/* based on 32KHz ILP clock */ /* based on 32KHz ILP clock */
...@@ -97,7 +99,8 @@ int bcma_chipco_watchdog_register(struct bcma_drv_cc *cc) ...@@ -97,7 +99,8 @@ int bcma_chipco_watchdog_register(struct bcma_drv_cc *cc)
wdt.driver_data = cc; wdt.driver_data = cc;
wdt.timer_set = bcma_chipco_watchdog_timer_set_wdt; wdt.timer_set = bcma_chipco_watchdog_timer_set_wdt;
wdt.timer_set_ms = bcma_chipco_watchdog_timer_set_ms_wdt; wdt.timer_set_ms = bcma_chipco_watchdog_timer_set_ms_wdt;
wdt.max_timer_ms = bcma_chipco_watchdog_get_max_timer(cc) / cc->ticks_per_ms; wdt.max_timer_ms =
bcma_chipco_watchdog_get_max_timer(cc) / cc->ticks_per_ms;
pdev = platform_device_register_data(NULL, "bcm47xx-wdt", pdev = platform_device_register_data(NULL, "bcm47xx-wdt",
cc->core->bus->num, &wdt, cc->core->bus->num, &wdt,
...@@ -335,7 +338,8 @@ void bcma_chipco_serial_init(struct bcma_drv_cc *cc) ...@@ -335,7 +338,8 @@ void bcma_chipco_serial_init(struct bcma_drv_cc *cc)
| BCMA_CC_CORECTL_UARTCLKEN); | BCMA_CC_CORECTL_UARTCLKEN);
} }
} else { } else {
bcma_err(cc->core->bus, "serial not supported on this device ccrev: 0x%x\n", ccrev); bcma_err(cc->core->bus, "serial not supported on this device ccrev: 0x%x\n",
ccrev);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment