]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/tango-xtal: Replace code by clocksource_mmio_init
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 13 Nov 2015 09:44:38 +0000 (10:44 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 09:12:17 +0000 (10:12 +0100)
commit0881841f7e7863ba0d33d4c34ee284cde85e18c4
tree6fe057493b8ec3e237bf79bb6aafecda40853022
parent46e7c3c6e5c56aadac391f92771e37dc03bec9b8
clocksource/drivers/tango-xtal: Replace code by clocksource_mmio_init

The current code to initialize, register and read the clocksource is
already factored out in mmio.c via the clocksource_mmio_init function.

Factor out the code with the clocksource_mmio_init function.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig
drivers/clocksource/tango_xtal.c