clocksource: arm_arch_timer: add a new enum for spi type
authorFu Wei <fu.wei@linaro.org>
Wed, 18 Jan 2017 13:25:29 +0000 (21:25 +0800)
committerMark Rutland <mark.rutland@arm.com>
Mon, 10 Apr 2017 13:29:54 +0000 (14:29 +0100)
commit097cd143dd871bfceacf4ed252b177cf515a1888
tree8d70718d78f916c8dac17c952429c94c6afe17ba
parent831610c08e63b69b141c446c78eb9e9315660a5d
clocksource: arm_arch_timer: add a new enum for spi type

This patch add a new enum "arch_timer_spi_nr" and use it in the driver.
Just for code's readability, no functional change.

Signed-off-by: Fu Wei <fu.wei@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
drivers/clocksource/arm_arch_timer.c
include/clocksource/arm_arch_timer.h