mirror of
https://github.com/torvalds/linux
synced 2024-09-22 12:26:27 +00:00
mach-netx/time.c: codingstyle cleanup
To prevent cluttering the next patches with noop noise, do the cleanup in this separate patch: - use tab to indent - break comments before column 80 Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
24920a79a2
commit
9853848860
|
@ -77,7 +77,9 @@ static void __init netx_timer_init(void)
|
|||
/* acknowledge interrupt */
|
||||
writel(COUNTER_BIT(0), NETX_GPIO_IRQ);
|
||||
|
||||
/* Enable the interrupt in the specific timer register and start timer */
|
||||
/* Enable the interrupt in the specific timer
|
||||
* register and start timer
|
||||
*/
|
||||
writel(COUNTER_BIT(0), NETX_GPIO_IRQ_ENABLE);
|
||||
writel(NETX_GPIO_COUNTER_CTRL_IRQ_EN | NETX_GPIO_COUNTER_CTRL_RUN,
|
||||
NETX_GPIO_COUNTER_CTRL(0));
|
||||
|
@ -87,7 +89,7 @@ static void __init netx_timer_init(void)
|
|||
/* Setup timer one for clocksource */
|
||||
writel(0, NETX_GPIO_COUNTER_CTRL(1));
|
||||
writel(0, NETX_GPIO_COUNTER_CURRENT(1));
|
||||
writel(0xFFFFFFFF, NETX_GPIO_COUNTER_MAX(1));
|
||||
writel(0xffffffff, NETX_GPIO_COUNTER_MAX(1));
|
||||
|
||||
writel(NETX_GPIO_COUNTER_CTRL_RUN,
|
||||
NETX_GPIO_COUNTER_CTRL(1));
|
||||
|
|
Loading…
Reference in a new issue