]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit044b9af210fe1937419faea6dfb23f1fb3fb0d6e
treebb498ca9ef3433266e2851b69060e8d96a4640c6
parent9a0e83ecb0ea00716ae56a6e43c8e9ccd0a06a44
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]