diff options
author | Javier Martinez Canillas <[email protected]> | 2016-01-27 00:36:38 -0300 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2016-02-04 23:42:07 +0100 |
commit | 862f9453bd1494f10b059076a3c97c3b90d248aa (patch) | |
tree | 7471fc0d93fcb79024d7baa2dd0bbc03bc466eb9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7cdffeb534360609d57a39403ee951e08dcffbe7 (diff) |
rtc: max77686: Use ARRAY_SIZE() instead of current array length
It is better to use the ARRAY_SIZE() macro instead of the array length
to avoid bugs if the array is later changed and the length not updated.
Signed-off-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Tested-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Acked-by: Laxman Dewangan <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions