Skip to content
Commit 74d95352 authored by Minghao Chi's avatar Minghao Chi Committed by Marc Kleine-Budde
Browse files

can: c_can: use devm_platform_get_and_ioremap_resource()



Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarMinghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/all/202211111443005202576@zte.com.cn


Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 5237ff4e
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