summaryrefslogtreecommitdiff
path: root/drivers/input/tests
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/tests')
-rw-r--r--drivers/input/tests/input_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tests/input_test.c b/drivers/input/tests/input_test.c
index 2fa5b725ae0a..9711ced180b8 100644
--- a/drivers/input/tests/input_test.c
+++ b/drivers/input/tests/input_test.c
@@ -31,7 +31,7 @@ static int input_test_init(struct kunit *test)
ret = input_register_device(input_dev);
if (ret) {
input_free_device(input_dev);
- KUNIT_ASSERT_FAILURE(test, "Register device failed: %d", ret);
+ KUNIT_FAIL_AND_ABORT(test, "Register device failed: %d", ret);
}
test->priv = input_dev;