diff options
| author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-10-07 15:49:37 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-08 12:50:27 +0300 |
| commit | f60c265159e832ae389f3ab1acf9343d9e86a19a (patch) | |
| tree | 86cd04729d3ca3a440cccb2e2d997cccaa4f838b /include/linux | |
| parent | f34b77ec86ec15b3dfe4e82161d77ff96bf6666b (diff) | |
| download | linux-f60c265159e832ae389f3ab1acf9343d9e86a19a.tar.xz | |
Staging: speakup: Use ARRAY_SIZE macro
ARRAY_SIZE is more concise to use when the size of an array is divided
by the size of its type or the size of its first element.
Changes made using Coccinelle-
@@
type T;
T[] E;
@@
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
