clocksource: arm_arch_timer: simplify ACPI support code.
authorFu Wei <fu.wei@linaro.org>
Fri, 31 Mar 2017 17:51:02 +0000 (01:51 +0800)
committerMark Rutland <mark.rutland@arm.com>
Wed, 19 Apr 2017 15:11:49 +0000 (16:11 +0100)
commitf79d209405fada700047245ed1a152bab8d6535e
tree60ee389838f1a83fe442e8332ae07d955c0039f6
parent5f1ae4ebe578319a0cd5dae9591dd426070be106
clocksource: arm_arch_timer: simplify ACPI support code.

The patch update arm_arch_timer driver to use the function
provided by the new GTDT driver of ACPI.
By this way, arm_arch_timer.c can be simplified, and separate
all the ACPI GTDT knowledge from this timer driver.

Signed-off-by: Fu Wei <fu.wei@linaro.org>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Tested-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
drivers/clocksource/arm_arch_timer.c