diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-01-27 00:36:38 -0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 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 <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Andi Shyti <andi.shyti@samsung.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions