clocksource: samsung_pwm_timer: Get clock from device tree
authorTomasz Figa <t.figa@samsung.com>
Mon, 26 Aug 2013 17:08:58 +0000 (19:08 +0200)
committerMike Turquette <mturquette@linaro.org>
Fri, 6 Sep 2013 20:33:05 +0000 (13:33 -0700)
commita1fa6f503aad8da91c4cc8dd0e71d2789d78d3f6
treed9d875b4a06a6ddfe5ed1abf6aedf7ab31c8aa98
parentec06dbe773084f9dfadd38d46d7b783d575c2306
clocksource: samsung_pwm_timer: Get clock from device tree

When booting with device tree static clkdev aliases should not be used.
This patch modifies the samsung_pwm_timer driver to use DT-based clock
lookup when booting with device tree.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clocksource/samsung_pwm_timer.c