Re: [Cocci] [PATCH net-next v1] can: ti_hecc: convert to devm_platform_ioremap_resource_byname()

2020-04-20 Thread Dejin Zheng
On Sun, Apr 19, 2020 at 06:19:12PM +0200, Markus Elfring wrote: > > use devm_platform_ioremap_resource_byname() to simplify code, > > it contains platform_get_resource_byname() and > > devm_ioremap_resource(), and also remove some duplicate error > > message. > > How do you think about a wording

Re: [Cocci] [PATCH net-next v1] can: ti_hecc: convert to devm_platform_ioremap_resource_byname()

2020-04-19 Thread Markus Elfring
> use devm_platform_ioremap_resource_byname() to simplify code, > it contains platform_get_resource_byname() and > devm_ioremap_resource(), and also remove some duplicate error > message. How do you think about a wording variant like the following? Use the function