diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-12-01 16:11:37 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-12-08 09:56:55 +0100 |
commit | 1d041a469e5de3d9d1b208e12af9265882dcd221 (patch) | |
tree | 73eee9c9cd2c970ef112c540ee6d2852ffd6b484 /drivers/gpu/drm/tests/drm_probe_helper_test.c | |
parent | 83ee69a89f32d60669e66dad1c5d841573e5a8ec (diff) | |
download | linux-1d041a469e5de3d9d1b208e12af9265882dcd221.tar.gz linux-1d041a469e5de3d9d1b208e12af9265882dcd221.tar.bz2 linux-1d041a469e5de3d9d1b208e12af9265882dcd221.zip |
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.c | 3 |
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; |