From patchwork Tue Dec 10 19:13:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 848970 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46FC4204684 for ; Tue, 10 Dec 2024 19:14:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733858056; cv=none; b=UcRvAlgnTTrvYh/O2cfkJTI5OIZmThCTkVu1gam21/g0Yfxf59m/eZrAJXgjfYYmjv+8th0Wmr0kqpLvIFqm0CYOhN20kCZsrqG0SWHVXrIAek+zb/EpgorRBBFcVs0POi/Tl+Mx1RTj1/Po+z6p0LjmFoBvaeIoilbqc9R5F8Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733858056; c=relaxed/simple; bh=P4g5rM5+vT8QGYunnxWP/KgERAFX3h+8woBAFgIYFAg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b2HazP0sZ0Vpfkl3wjTsrdeY8Le6sRdsKDTu1Cbapv0FgHwtLp4Q3caJ2+R/wAjKJNKtKiuQ9mzY4BBdk5CTWwE8ChsU4lh0eLKksixcfVL8DByvaIg10gnDzRbG3LprpkZm8+JyA86R6i6DVRtatr8pjQ+8h/IxaIL+gEecAiY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=WlMqwKrf; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="WlMqwKrf" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-216728b1836so10506705ad.0 for ; Tue, 10 Dec 2024 11:14:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733858054; x=1734462854; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=t5b9XYsu4O+lmiHBc5HtDX/VKh9pMQ/nh/9V8laOoEk=; b=WlMqwKrfeIwp0P41CrA+Zj9t45RW8SEmlQ/tdqAF0JdsgY6Sr3lgLPTwnPLFJmKIcV qGMPm6K+eXnRPlgFj1+Ml61thPxxzyr/NJ45maIE2JxRY9Zo7pqpQw3QlKZe+4w6aZ+y WZ/1iFwKtXHJi8xQfXL8Jrrm0y3vo57Cei6bY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733858054; x=1734462854; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t5b9XYsu4O+lmiHBc5HtDX/VKh9pMQ/nh/9V8laOoEk=; b=b0cuHVB7FGmBdWd2Y4PRvoAMO83XN+leC+KLHs9WrcUR6rXwzFHmMQUWTQXqdjUdZ8 n01Ovh9vndPJUnaF/A3C5hgd6kM7pq1V2Q6BOvJ/QCh3oTCQHQyg2Gn8NvQjeykoYBtb Qac4sTLHCX1ot5DrVYeND0Bxbj4TAp/rM7mxMWYQHVEkOxpbSGbcbnB3KD9f3fEH4SC6 VTZ7fumPdQlIEOFcKoEC8nw38YAGLT3v4cDOHpii+Sqa1OUtJdUPss+rmDRrlJja4WL3 XNbDfrbLda20WaVjDkJ+6GFQEDBm9t668Wmg3ZnZu9COyfhKoSqvSiPCqXoYQxQ91tDq 7iRA== X-Forwarded-Encrypted: i=1; AJvYcCXiV3P3HeoxhBLOHiOIb58vve3qLcB5K84Qo6xPjEn4s6nffj3IDPLKHq+syK9vOwtR9CQGkq2o8CCq24T38RU=@vger.kernel.org X-Gm-Message-State: AOJu0Yx+dT+j/FTCSRyIMsao3fx/CW6hWFCVaO9+Us4vJ/D/JvtYEUc9 smubn3qu5FL3yr4Kf7YrnAZcmzlRtDWbDQLNRMtPSkekOhrCgNPgVnEDhRahFw== X-Gm-Gg: ASbGnctIuM9q6tVLE3mo2buMKUNXumRh8DF9JcKG7K2CI2yJhAyujeVmrAsmNTBwFnj eyAXk8c8UiQPI9fXPKlgfpuikidXQN6VDWhuFlUq7xmaQ/RwfNqkvT5ULPmpd1mqhNPGiPoPKS5 kpG4sosHorgH7aJLPgNgFgfd9z5UODaExiYV0KUyXY47F3SaySALbL7t3Leo6oG6iQpWxTrY/cc ocVOuvcgmMgJ+L48OwFVk4tRtrhCtOyHnt8Gjp64x3555Tegu5j4n/YyWabyPwhqaFGiopVxUja PeXxtUf5OLoqr24y X-Google-Smtp-Source: AGHT+IEXiv8Ym3Q4nPBKFIlRwqhDrPPK9Ud52JE4zWYY3RQI+KC6JJeue0TzMBRAN1JYYwitRq9xzQ== X-Received: by 2002:a17:902:fc86:b0:215:94e0:17 with SMTP id d9443c01a7336-217783b776amr4525505ad.23.1733858053991; Tue, 10 Dec 2024 11:14:13 -0800 (PST) Received: from localhost ([2a00:79e0:2e14:7:cf2b:44dd:668c:5818]) by smtp.gmail.com with UTF8SMTPSA id 41be03b00d2f7-7fd3af6ef9csm5920470a12.62.2024.12.10.11.14.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Dec 2024 11:14:13 -0800 (PST) From: Brian Norris To: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" , Maxime Ripard , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Rob Herring , David Gow , Rae Moar , linux-acpi@vger.kernel.org, Brian Norris Subject: [PATCH 3/4] drivers: base: test: Drop "devm" from platform-device-test names Date: Tue, 10 Dec 2024 11:13:32 -0800 Message-ID: <20241210191353.533801-4-briannorris@chromium.org> X-Mailer: git-send-email 2.47.0.338.g60cca15819-goog In-Reply-To: <20241210191353.533801-1-briannorris@chromium.org> References: <20241210191353.533801-1-briannorris@chromium.org> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This is a reasonably-helpful base for generic platform_device tests, and I'd like to add more tests that aren't specifically about "devm" functions. Drop the devm namings for the suite, for clarity. Signed-off-by: Brian Norris --- drivers/base/test/platform-device-test.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/base/test/platform-device-test.c b/drivers/base/test/platform-device-test.c index ea05b8785743..fd871bb9e143 100644 --- a/drivers/base/test/platform-device-test.c +++ b/drivers/base/test/platform-device-test.c @@ -15,7 +15,7 @@ struct test_priv { struct device *dev; }; -static int platform_device_devm_init(struct kunit *test) +static int platform_device_init(struct kunit *test) { struct test_priv *priv; @@ -203,7 +203,7 @@ static void probed_platform_device_devm_register_get_unregister_with_devm_test(s platform_driver_unregister(&fake_driver); } -static struct kunit_case platform_device_devm_tests[] = { +static struct kunit_case platform_device_tests[] = { KUNIT_CASE(platform_device_devm_register_unregister_test), KUNIT_CASE(platform_device_devm_register_get_unregister_with_devm_test), KUNIT_CASE(probed_platform_device_devm_register_unregister_test), @@ -211,13 +211,13 @@ static struct kunit_case platform_device_devm_tests[] = { {} }; -static struct kunit_suite platform_device_devm_test_suite = { - .name = "platform-device-devm", - .init = platform_device_devm_init, - .test_cases = platform_device_devm_tests, +static struct kunit_suite platform_device_test_suite = { + .name = "platform-device", + .init = platform_device_init, + .test_cases = platform_device_tests, }; -kunit_test_suite(platform_device_devm_test_suite); +kunit_test_suite(platform_device_test_suite); MODULE_DESCRIPTION("Test module for platform devices"); MODULE_AUTHOR("Maxime Ripard ");