diff options
author | Timur Tabi <timur@freescale.com> | 2011-09-15 16:44:50 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-09-18 20:08:56 +0000 |
commit | 9e52ba612fa0d554c83c4bd988d60d4586347c17 (patch) | |
tree | 2cf13795aab4c4765dca8db306a78e6bc9b5cb36 /drivers/video/atafb_iplan2p2.c | |
parent | 89f08e3e5d063b9fd7f37e8514e5f0af8c1015e8 (diff) | |
download | op-kernel-dev-9e52ba612fa0d554c83c4bd988d60d4586347c17.zip op-kernel-dev-9e52ba612fa0d554c83c4bd988d60d4586347c17.tar.gz |
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 <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/atafb_iplan2p2.c')
0 files changed, 0 insertions, 0 deletions