i.MX: Rework functions/types name and use new style initialization
commit67110c3e010088d45bf0b396fca2aa8cd48ff9d0
authorJean-Christophe DUBOIS <jcd@tribudubois.net>
Tue, 25 Jun 2013 17:34:13 +0000 (25 18:34 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Jun 2013 17:34:13 +0000 (25 18:34 +0100)
tree61cf71383104383a0e999104db5b7d28fe0d6c18
parent5ec694b52a3a486fbc5a6eb6d6da4692c27d6575
i.MX: Rework functions/types name and use new style initialization

* use dynamic cast whenever possible
* Change function names to some more meaningful prefix
* Change type names to a more meaningful one
* use new style device initialization

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Message-id: 1369898943-1993-3-git-send-email-jcd@tribudubois.net
Reviewed-by: Peter Chubb <peter.chubb@nicta.com.au>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/timer/imx_gpt.c