Tag: b1a9329cd5c4a26cdc2b12015ad055174a09e4ad

video: xilinxfb: replace devm_request_and_ioremap by devm_ioremap_resource

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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 Signed-off-by: Tomi Valkeinen — drivers/video/xilinxfb.c | 8 ++++—- 1 file changed, 4 insertions(+), 4 deletions(-) …

Continue reading