From: Timur Tabi Date: Thu, 15 Sep 2011 21:44:50 +0000 (-0500) Subject: drivers/video: fsl-diu-fb: improve device tree usage X-Git-Tag: v3.2-rc1~120^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e52ba612fa0d554c83c4bd988d60d4586347c17;p=pandora-kernel.git drivers/video: fsl-diu-fb: improve device tree usage Implement various improvements to the way the Freescale DIU framebuffer driver access the device tree. 1) Use of_iomap() instead of of_address_to_resource() and ioremap() 2) Use be32_to_cpup() instead of directly dereferencing the device_node pointer. 3) Rename variable 'ofdev' to 'pdev' to avoid any confusion that it's a platform_device pointer, not an of_device pointer (of_device no longer exists). Signed-off-by: Timur Tabi Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed