diff options
author | Dejin Zheng <zhengdejin5@gmail.com> | 2020-04-20 21:22:07 +0800 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-09-21 10:13:17 +0200 |
commit | 0cf38586c2162a67edd50c7c1f346a6b56718607 (patch) | |
tree | d3815d0e325dd7b8b2853a4bcc7b63409f7ddbae /drivers/net/can/usb | |
parent | 71ef9dfda730dac915f5fba8f4d47d337d47def6 (diff) |
can: ti_hecc: convert to devm_platform_ioremap_resource_byname()
Use the function devm_platform_ioremap_resource_byname() to simplify
source code which calls the functions platform_get_resource_byname()
and devm_ioremap_resource(). Remove also a few error messages which
became unnecessary with this software refactoring.
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Link: https://lore.kernel.org/r/20200420132207.8536-1-zhengdejin5@gmail.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/usb')
0 files changed, 0 insertions, 0 deletions