lib/test_linear_ranges: Use LINEAR_RANGE()
authorMatti Vaittinen <mazziesaccount@gmail.com>
Wed, 16 Nov 2022 05:32:12 +0000 (07:32 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 16 Nov 2022 13:32:32 +0000 (13:32 +0000)
commitbc64f30eb9a5edb299ee0a1a05cc21e4079fd9f3
tree20e9f97ba116e30e4583d2e5dde83469cce0f03a
parentb8dfb3bed5524589052dafa0e4d6c4e25ae11544
lib/test_linear_ranges: Use LINEAR_RANGE()

New initialization macro for linear ranges was added. Slightly simplify
the test code by using this macro - and at the same time also verify the
macro is working as intended.

Use the newly added LINEAR_RANGE() initialization macro for linear range
test.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/Y3R13IRrs+x5PcZ4@dc75zzyyyyyyyyyyyyydt-3.rev.dnainternet.fi
Signed-off-by: Mark Brown <broonie@kernel.org>
lib/test_linear_ranges.c