ARM: 8244/1: fbdev: sa1100fb: make use of device clock
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 3 Dec 2014 17:36:53 +0000 (18:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 5 Dec 2014 16:30:25 +0000 (16:30 +0000)
commit23834a4116cd468d62e1092234e46ec1919a9e86
tree63657bb4d48931f4d665323e19edfbe0e558cc80
parent7faf6d1ab0f99c6ee2a8acb5c5ec71ffcb8a264a
ARM: 8244/1: fbdev: sa1100fb: make use of device clock

Use per-device clock (instead of calling cpufreq_get(0), which can
return 0 if no cpu frequency driver is selected) to program timings.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/fbdev/sa1100fb.c
drivers/video/fbdev/sa1100fb.h