]> git.baikalelectronics.ru Git - kernel.git/commitdiff
iio: test: format: follow CONFIG_ naming convention
authorLiam Beguin <liambeguin@gmail.com>
Sun, 10 Jul 2022 01:31:07 +0000 (21:31 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 Jul 2022 18:01:14 +0000 (19:01 +0100)
The KUnit documentation indicates that all KUnit Kconfig entries must
match CONFIG_<name>_KUNIT_TEST: where <name> is the name of the test
suite. Rename the IIO_TEST_FORMAT configuration accordingly.

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Link: https://lore.kernel.org/r/20220710013109.3349104-4-liambeguin@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/test/Kconfig
drivers/iio/test/Makefile

index 4c66c3f18c345141276395ff51190fc749b90434..7dbf51bc49341e29eb8b0e0ba72227d96ed8a7e3 100644 (file)
@@ -14,6 +14,6 @@ config IIO_RESCALE_KUNIT_TEST
          This takes advantage of ARCH=um to run tests and should be used by
          developers to tests their changes to the rescaling logic.
 
-config IIO_TEST_FORMAT
+config IIO_FORMAT_KUNIT_TEST
         bool "Test IIO formatting functions"
         depends on KUNIT=y
index 880360f8d02c293341a9a27ba86cb01f4754e549..d76eaf36da820605e126b02b0f55d2a5454d979e 100644 (file)
@@ -5,5 +5,5 @@
 
 # Keep in alphabetical order
 obj-$(CONFIG_IIO_RESCALE_KUNIT_TEST) += iio-test-rescale.o
-obj-$(CONFIG_IIO_TEST_FORMAT) += iio-test-format.o
+obj-$(CONFIG_IIO_FORMAT_KUNIT_TEST) += iio-test-format.o
 CFLAGS_iio-test-format.o += $(DISABLE_STRUCTLEAK_PLUGIN)