ARC: Use clockevents_config_and_register over clockevents_register_device
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 24 Sep 2013 21:05:37 +0000 (23:05 +0200)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 27 Sep 2013 10:58:48 +0000 (16:28 +0530)
commit55c2e26204276b27f2b7a63123b701c950e45d89
tree7a5f8c38aab59315d3355ed8f8073950ee859c5e
parent6c00350b573c0bd3635436e43e8696951dd6e1b6
ARC: Use clockevents_config_and_register over clockevents_register_device

clockevents_config_and_register is more clever and correct than doing it
by hand; so use it.

[vgupta: fixed build failure due to missing ; in patch]

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/time.c