diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2013-08-11 18:51:56 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-08-12 19:10:23 +0000 |
commit | f4ada24bd606516ee04a892164deb8c80d2b9be9 (patch) | |
tree | 56dd73e40b008c2c58fc5fd7c8f74750a90be034 /arch/arm/boot/dts | |
parent | d04d97c2646dc436ef81ecd3b51e3ca50c716d0d (diff) |
arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument
Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the
arity of the called function.
The semantic match that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression e,f;
@@
f(...,
- ARRAY_AND_SIZE(e)
+ e,ARRAY_SIZE(e)
,...)
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts')
0 files changed, 0 insertions, 0 deletions