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:
@@ -77,7 +77,9 @@ static void __init netx_timer_init(void)
|
|||||||
/* acknowledge interrupt */
|
/* acknowledge interrupt */
|
||||||
writel(COUNTER_BIT(0), NETX_GPIO_IRQ);
|
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(COUNTER_BIT(0), NETX_GPIO_IRQ_ENABLE);
|
||||||
writel(NETX_GPIO_COUNTER_CTRL_IRQ_EN | NETX_GPIO_COUNTER_CTRL_RUN,
|
writel(NETX_GPIO_COUNTER_CTRL_IRQ_EN | NETX_GPIO_COUNTER_CTRL_RUN,
|
||||||
NETX_GPIO_COUNTER_CTRL(0));
|
NETX_GPIO_COUNTER_CTRL(0));
|
||||||
@@ -87,7 +89,7 @@ static void __init netx_timer_init(void)
|
|||||||
/* Setup timer one for clocksource */
|
/* Setup timer one for clocksource */
|
||||||
writel(0, NETX_GPIO_COUNTER_CTRL(1));
|
writel(0, NETX_GPIO_COUNTER_CTRL(1));
|
||||||
writel(0, NETX_GPIO_COUNTER_CURRENT(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,
|
writel(NETX_GPIO_COUNTER_CTRL_RUN,
|
||||||
NETX_GPIO_COUNTER_CTRL(1));
|
NETX_GPIO_COUNTER_CTRL(1));
|
||||||
|
Reference in New Issue
Block a user