diff options
author | José Expósito <jose.exposito89@gmail.com> | 2022-11-10 18:49:55 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-11-14 15:03:48 +0100 |
commit | af89dfde2a5f8b9d2489813f0ec575d0457ad902 (patch) | |
tree | 54edc7451fc1dadb696e5854a43b04daca52f2a9 /drivers/hid/hid-uclogic-rdesc-test.c | |
parent | HID: uclogic: Add support for XP-PEN Deco LW (diff) | |
download | linux-af89dfde2a5f8b9d2489813f0ec575d0457ad902.tar.xz linux-af89dfde2a5f8b9d2489813f0ec575d0457ad902.zip |
HID: uclogic: Standardize test name prefix
Commit 961bcdf956a4 ("drm/tests: Change "igt_" prefix to "drm_test_"")
introduced a new naming convention for the KUnit tests present in the
DRM subsystem: "drm_test_<module>_<test name>".
This naming convention is very convenient because it allows to easily
run all subsystem tests or all driver tests using kunit.py's wildcards.
Follow the naming conventions used in the DRM subsystem adapted to the
HID subsystem: "hid_test_<module>_<test name>".
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Reviewed-by: Maíra Canal <mairacanal@riseup.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-uclogic-rdesc-test.c')
-rw-r--r-- | drivers/hid/hid-uclogic-rdesc-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-uclogic-rdesc-test.c b/drivers/hid/hid-uclogic-rdesc-test.c index 3971a0854c3e..b429c541bf2f 100644 --- a/drivers/hid/hid-uclogic-rdesc-test.c +++ b/drivers/hid/hid-uclogic-rdesc-test.c @@ -187,7 +187,7 @@ static void uclogic_template_case_desc(struct uclogic_template_case *t, KUNIT_ARRAY_PARAM(uclogic_template, uclogic_template_cases, uclogic_template_case_desc); -static void uclogic_template_test(struct kunit *test) +static void hid_test_uclogic_template(struct kunit *test) { __u8 *res; const struct uclogic_template_case *params = test->param_value; @@ -203,7 +203,7 @@ static void uclogic_template_test(struct kunit *test) } static struct kunit_case hid_uclogic_rdesc_test_cases[] = { - KUNIT_CASE_PARAM(uclogic_template_test, uclogic_template_gen_params), + KUNIT_CASE_PARAM(hid_test_uclogic_template, uclogic_template_gen_params), {} }; |