clocksource: of: Respect device tree node status
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 26 Sep 2013 00:08:17 +0000 (02:08 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 26 Sep 2013 00:30:16 +0000 (02:30 +0200)
commiteeb93d02c5d8819c74f6d4da08325cff8c6a9376
tree98f3b8ce9acd98ff1170be51f1671058f41093d3
parent5df718d84679936454e815451d748ccca0e9edad
clocksource: of: Respect device tree node status

Clocksource devices provided by DT can be disabled (status != "okay").
Instead of registering clocksource drivers for disabled nodes, respect
the device's status by skiping disabled nodes.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/clksrc-of.c