Re: [PATCH v2] coccinelle: api: add devm_platform_ioremap_resource script

2019-07-17 Thread Masahiro Yamada
On Tue, Jul 16, 2019 at 2:52 PM Himanshu Jha wrote: > > Use recently introduced devm_platform_ioremap_resource > helper which wraps platform_get_resource() and > devm_ioremap_resource() together. This helps produce much > cleaner code and remove local `struct resource` declaration. > >

[PATCH v2] coccinelle: api: add devm_platform_ioremap_resource script

2019-07-15 Thread Himanshu Jha
Use recently introduced devm_platform_ioremap_resource helper which wraps platform_get_resource() and devm_ioremap_resource() together. This helps produce much cleaner code and remove local `struct resource` declaration. Signed-off-by: Himanshu Jha Signed-off-by: Julia Lawall --- v2: -

Re: Coccinelle: api: add devm_platform_ioremap_resource script

2019-06-11 Thread Julia Lawall
On Tue, 11 Jun 2019, Enrico Weigelt, metux IT consult wrote: > On 09.06.19 10:55, Markus Elfring wrote: > > > > >> But there is not usually any interesting formatting on the left side of an > >> assignment (ie typically no newlines or comments). > > > > Is there any need to trigger additional