]> git.baikalelectronics.ru Git - kernel.git/commit
can: ti_hecc: convert to devm_platform_ioremap_resource_byname()
authorDejin Zheng <zhengdejin5@gmail.com>
Mon, 20 Apr 2020 13:22:07 +0000 (21:22 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2020 08:13:17 +0000 (10:13 +0200)
commit7b874e58c7c0af3882ca0a89bf7ff1dabc8de74c
treed3815d0e325dd7b8b2853a4bcc7b63409f7ddbae
parent3ddb05e4a0782b0b9bda51bef651c7cda5e81c0a
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>
drivers/net/can/ti_hecc.c