ARM/clocksource: use automatic DT probing for ux500 PRCMU
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Dec 2015 14:00:24 +0000 (15:00 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 1 Dec 2015 21:37:02 +0000 (22:37 +0100)
commit9d2aa8c7961ae9af5f75af2dc171dd4e4f441e89
treebb498ca9ef3433266e2851b69060e8d96a4640c6
parent75305275a721d33ae9abfaeed2817cec8b2fee9a
ARM/clocksource: use automatic DT probing for ux500 PRCMU

The ARM core kernel already calls clocksource_of_init() so why
go to all the trouble of locating and probing this node in the
machine. CLOCKSOURCE_OF_DECLARE() will take care of it in the
clocksource driver, and thus we can also get rid of the
dangling header file <linux/clksrc-dbx500-prcmu.h>

Suggested-by: Arnd Bergmann <arndb@linaro.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-ux500/Makefile
arch/arm/mach-ux500/cpu-db8500.c
arch/arm/mach-ux500/cpu.c
arch/arm/mach-ux500/setup.h
arch/arm/mach-ux500/timer.c [deleted file]
drivers/clocksource/clksrc-dbx500-prcmu.c
include/linux/clksrc-dbx500-prcmu.h [deleted file]