Skip to content
Commit 619200d5 authored by Markus Elfring's avatar Markus Elfring Committed by Hans Verkuil
Browse files

media: ti: Use devm_platform_ioremap_resource() in ti_csi2rx_probe()



A wrapper function is available since the commit 7945f929
("drivers: provide devm_platform_ioremap_resource()").

* Thus reuse existing functionality instead of keeping duplicate source
  code.

* Delete a local variable which became unnecessary with this refactoring.

This issue was transformed by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Reviewed-by: default avatarJai Luthra <j-luthra@ti.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 76f623d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment