From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from jpms-ob01-os7.noc.sony.co.jp (jpms-ob01-os7.noc.sony.co.jp [211.125.139.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E6373BF689; Wed, 22 Apr 2026 09:49:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.125.139.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851369; cv=none; b=KFmnlGUx3iKLyIPiCYYZKrpw97KJYTlN5Bk6aHYZugA4r3m0JSviM854SjgVRbtbFdP8/ylqBtDlC1UZcKRIsAeUPobJ8m2xpo0/r+gujl8A1+5I9FGmWW79108kV3rH3E479ClfBMRup9lL5ePw07QLlf5jDCNm7/oVxK4yPSs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851369; c=relaxed/simple; bh=15chuYpccSlT6UpH8TNwNGnGHfksA7xi4fPhMzJSTtA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Q1SQvVqzfcgX5J76iIPnX2+MTFSTANDuKL0OSutYLY/Olj4K9xTiyCtnznUlYSmri33uVLf1XVkqEFhy+M1Qo+xDhh1jTHbxn20ntB4VUNbDh29ixfjlugBkxwjN8+PTIaQXDOALb/hWvA00jsvQPI1sJApdLb1rGLoI1ZFABoo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sony.com; spf=fail smtp.mailfrom=sony.com; dkim=pass (2048-bit key) header.d=sony.com header.i=@sony.com header.b=DgMUIV9B; arc=none smtp.client-ip=211.125.139.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sony.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=sony.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sony.com header.i=@sony.com header.b="DgMUIV9B" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sony.com; s=s1jp; t=1776851368; x=1808387368; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=oCL1gEFUP1wdiZ4mPtneZFBWlCiHxBCt8+1MrSojH7w=; b=DgMUIV9BHTGiqw/rwcBi3frMa/ERShyUqL2eFvb6QtgC4SF2vvCIBBtc DjJKU2RsAy38weI5fvy2to2+5ZHVhW/IVZ6Tav3GC7aZ37Wxtz78HRtLa QbhhFYeLBW1TZSId3E+087rZtRGP7/WjwO6HOtLTMmzAKxp+au2FFlxlF 7e7xTdoUXfsRN2SVAO97+7fySNfSoeo5idu0xSwqDxOkSb1/cFzEtdv/3 X9rB/DoF1e9QcCUUxRyX5cBFaIyoGSeahDMla0rNX5XWfYmKAQHd0TDkU TRjD4SOFbBmosxaodC6Te2FqEpsfP4CaBywES6Grwcp5sP9L4vOL/1zQ6 g==; X-CSE-ConnectionGUID: l7LAwCMhRimrHXZdQZKJcA== X-CSE-MsgGUID: BC4Up8KvSqe2F/ELC/B7xg== Received: from unknown (HELO jpmta-ob02-os7.noc.sony.co.jp) ([IPv6:2001:cf8:acf:1104::7]) by jpms-ob01-os7.noc.sony.co.jp with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2026 18:49:20 +0900 X-CSE-ConnectionGUID: SgthmcMQRTCdknWd7vVZsw== X-CSE-MsgGUID: Ta60PQwYQQmW9I62Z0fNyw== X-IronPort-AV: E=Sophos;i="6.23,192,1770562800"; d="scan'208";a="51446140" Received: from unknown (HELO [127.0.1.1]) ([IPv6:2001:cf8:1:573:0:dddd:eb3e:119e]) by jpmta-ob02-os7.noc.sony.co.jp with ESMTP; 22 Apr 2026 18:49:18 +0900 From: Shashank Balaji Date: Wed, 22 Apr 2026 18:49:06 +0900 Subject: [PATCH v3 4/4] docs: driver-api: add mod_name argument to __platform_register_drivers() Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260422-acpi_mod_name-v3-4-a184eff9ff6f@sony.com> References: <20260422-acpi_mod_name-v3-0-a184eff9ff6f@sony.com> In-Reply-To: <20260422-acpi_mod_name-v3-0-a184eff9ff6f@sony.com> To: Suzuki K Poulose , Mike Leach , James Clark , Alexander Shishkin , Maxime Coquelin , Alexandre Torgue , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Miguel Ojeda , Boqun Feng , Gary Guo , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Richard Cochran , Jonathan Corbet , Shuah Khan Cc: Rahul Bukte , Shashank Balaji , linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, driver-core@lists.linux.dev, rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, Daniel Palmer , Tim Bird X-Mailer: b4 0.16-dev-3bfbc X-Developer-Signature: v=1; a=openpgp-sha256; l=1071; i=shashank.mahadasyam@sony.com; h=from:subject:message-id; bh=15chuYpccSlT6UpH8TNwNGnGHfksA7xi4fPhMzJSTtA=; b=owGbwMvMwCU2bX1+URVTXyjjabUkhswXM2cEchoeX80oYratR2Gj5Zx04SJxhcVGOZ+TJkb7O L9antrWUcrCIMbFICumyFKqVP1r74qgJT1nXivCzGFlAhnCwMUpABMJY2Nk+HNF00Fs57JPb8Uy XdVs19vsf8i6w+K/728jkSYh54ItnowMx7R93hRNCX8S8Stqo8+qT9IKK45LeT3mv7H9mHSG+KL NLAA= X-Developer-Key: i=shashank.mahadasyam@sony.com; a=openpgp; fpr=75227BFABDA852A48CCCEB2196AF6F727A028E55 Co-developed-by: Rahul Bukte Signed-off-by: Rahul Bukte Signed-off-by: Shashank Balaji --- Documentation/driver-api/driver-model/platform.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/driver-api/driver-model/platform.rst b/Documentation/driver-api/driver-model/platform.rst index cf5ff48d3115..9673470bded2 100644 --- a/Documentation/driver-api/driver-model/platform.rst +++ b/Documentation/driver-api/driver-model/platform.rst @@ -70,7 +70,8 @@ Kernel modules can be composed of several platform drivers. The platform core provides helpers to register and unregister an array of drivers:: int __platform_register_drivers(struct platform_driver * const *drivers, - unsigned int count, struct module *owner); + unsigned int count, struct module *owner, + const char *mod_name); void platform_unregister_drivers(struct platform_driver * const *drivers, unsigned int count); -- 2.43.0