lkml.org 
[lkml]   [2019]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Coccinelle: api: add devm_platform_ioremap_resource script


On Sat, 8 Jun 2019, Markus Elfring wrote:

> > +- e1 = devm_ioremap_resource(arg4, id);
> > ++ e1 = devm_platform_ioremap_resource(arg1, arg3);
>
> Can the following specification variant matter for the shown SmPL
> change approach?
>
> + e1 =
> +- devm_ioremap_resource(arg4, id
> ++ devm_platform_ioremap_resource(arg1, arg3
> + );

In the latter case, the original formatting of e1 will be preserved. But
there is not usually any interesting formatting on the left side of an
assignment (ie typically no newlines or comments). I can see no purpose
to factorizing the right parenthesis.

julia

\
 
 \ /
  Last update: 2019-06-08 19:27    [W:0.277 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site