]> git.openfabrics.org - ~emulex/infiniband.git/commit
fbdev: jz4740: Use devm_request_and_ioremap
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 9 Sep 2012 15:38:41 +0000 (17:38 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 22 Sep 2012 21:36:48 +0000 (21:36 +0000)
commitb5d4190f7ec584a2860499f2721fd3421e41c187
tree5991cbd06dac4bdf3a96226b15ad5cb241b90af9
parentc88452f16d4d283c735117b953f9f2ab10218799
fbdev: jz4740: Use devm_request_and_ioremap

Use devm_request_and_ioremap instead of request_mem_region + devm_ioremap.

This also fixes the following compile error introduced in commit b2ca7f4d
("drivers/video/jz4740_fb.c: use devm_ functions"):

drivers/video/jz4740_fb.c: In function 'jzfb_probe':
drivers/video/jz4740_fb.c:676:2: error: implicit declaration of function 'devm_ioremap'
drivers/video/jz4740_fb.c:676:13: warning: assignment makes pointer from integer without a cast

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/jz4740_fb.c