]> git.itanic.dy.fi Git - linux-stable/commit
coccinelle: device_attr_show: simplify patch case
authorJulia Lawall <Julia.Lawall@inria.fr>
Sat, 20 Jan 2024 20:56:11 +0000 (21:56 +0100)
committerJulia Lawall <Julia.Lawall@inria.fr>
Sat, 20 Jan 2024 20:56:11 +0000 (21:56 +0100)
commitff82e84e80fc0c93095f5a36e0a3508ac121ab80
tree3279cd0ec1274b4cd443bfebce403a8e5f0d60ad
parent68ea60a7961ca6c7c38f856572a146f66949815d
coccinelle: device_attr_show: simplify patch case

Replacing the final expression argument by ... allows the format
string to have multiple arguments.

It also has the advantage of allowing the change to be recognized as
a change in a single statement, thus avoiding adding unneeded braces.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
scripts/coccinelle/api/device_attr_show.cocci