diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2013-08-19 13:20:40 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-08-30 11:45:23 +0300 |
commit | b1a9329cd5c4a26cdc2b12015ad055174a09e4ad (patch) | |
tree | 87b7187cf151e5c40620e9156f4670176c790397 /drivers/video/omap | |
parent | 9c29fba12e9657e4effccd124813639e4876971d (diff) | |
download | op-kernel-dev-b1a9329cd5c4a26cdc2b12015ad055174a09e4ad.zip op-kernel-dev-b1a9329cd5c4a26cdc2b12015ad055174a09e4ad.tar.gz |
video: xilinxfb: replace devm_request_and_ioremap by devm_ioremap_resource
Use devm_ioremap_resource instead of devm_request_and_ioremap.
This was done using the semantic patch
scripts/coccinelle/api/devm_ioremap_resource.cocci
The initialization of drvdata->regs_phys was manually moved lower, to take
advantage of the NULL test on res performed by devm_ioremap_resource.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap')
0 files changed, 0 insertions, 0 deletions