selftests/timers: make loop consistent with array size
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Wed, 23 Aug 2017 16:07:05 +0000 (18:07 +0200)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 25 Aug 2017 16:00:51 +0000 (10:00 -0600)
commit8f14e26b63b1b6c7c681409e9db1bbf054e00b32
tree0fa52853dd9d15d99e701ca1947f9830c74d3feb
parent475c57cce34a12641d10f6653556023d17913039
selftests/timers: make loop consistent with array size

clocksource_list array is defined as char [10][30] so
to initialise it we only have to iterate 10 times.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/timers/clocksource-switch.c