summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tests/drm_probe_helper_test.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-12-01 18:11:37 +0300
committerMaxime Ripard <maxime@cerno.tech>2022-12-08 11:56:55 +0300
commit1d041a469e5de3d9d1b208e12af9265882dcd221 (patch)
tree73eee9c9cd2c970ef112c540ee6d2852ffd6b484 /drivers/gpu/drm/tests/drm_probe_helper_test.c
parent83ee69a89f32d60669e66dad1c5d841573e5a8ec (diff)
downloadlinux-1d041a469e5de3d9d1b208e12af9265882dcd221.tar.xz
drm/tests: helpers: Remove the name parameter
The device name isn't really useful, we can just define it instead of exposing it in the API. Reviewed-by: MaĆ­ra Canal <mcanal@igalia.com> Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-6-4615a663a84a@cerno.tech Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/gpu/drm/tests/drm_probe_helper_test.c')
-rw-r--r--drivers/gpu/drm/tests/drm_probe_helper_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tests/drm_probe_helper_test.c b/drivers/gpu/drm/tests/drm_probe_helper_test.c
index b44768100ed5..86ea988e14be 100644
--- a/drivers/gpu/drm/tests/drm_probe_helper_test.c
+++ b/drivers/gpu/drm/tests/drm_probe_helper_test.c
@@ -40,8 +40,7 @@ static int drm_probe_helper_test_init(struct kunit *test)
test->priv = priv;
priv->drm = drm_kunit_helper_alloc_drm_device(test,
- DRIVER_MODESET | DRIVER_ATOMIC,
- "drm-probe-helper-test");
+ DRIVER_MODESET | DRIVER_ATOMIC);
KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->drm);
connector = &priv->connector;