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 60327328B62; Mon, 27 Apr 2026 02:42:22 +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=1777257747; cv=none; b=nQirt0iqMfUyx5kox7hFy6YczREkpkOE54aArZ+IwDo+60iiYzdiULTyyxfo/CwGRtxiT3MFKd28IpJpU7+tlk8xdHz+6QramT7x8IzvqknWbuhGphlA3eC94dm5SYzkMrdit0LAm2+atyGOnJ8ZRJfQfrGKqMonA01x9twxKEM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777257747; c=relaxed/simple; bh=Ntxs4LrM9nMix70BKY/iLLvKQ7C8YsLHb8BjcRBYfF0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z4fdI1AqCZ23OQ5UMvKhwA+YvYQDJw7DeLVOKmo0d7DAtYyYHzcrYp6wCXtr0X781MziCaJ4BeefowxnwcVAOuH2+tBJf/3cbnOcUkreMMj8o/HACDz1iA3qN/WWIdnWoQ3nfGtzrnpcszp3UXFafLa6TGJ7y/Qw5YDvxbinbV0= 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=OsK6yiDO; 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="OsK6yiDO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sony.com; s=s1jp; t=1777257743; x=1808793743; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=9dNZSXPaU7SwRa36y6sq2F/bVDLBSOQWDoZdmR4n+V4=; b=OsK6yiDO4pSvzgOqwchMp2KW8IhzbXC3hNN3u022vcm/I1453lg+qRkO rZjKedg2Qse1cJqkUgJxmbMxilzyOcrkStGr5GaE+YNQMFNZR3WMwOyb2 Sd6kb3sspzDMjaUz/q4ubvDEZa5eiOs3NPFn+WQcOEBOr5ZGb5byTlaYV qC4Rhl545Qzgme8tXj6h7RvvvHJZ/xp/aFIt8Sit1e1iTIZJau5FQLF3e MXV9v3MnYoj49ytmru/yqTgko2kj8Ko6SGo6J5InOycGpO4i0jUO3wsPl 8ynfE6DUqhzhFncaqA7mogR5pMp70WXtv9KOv9owQiuhKy6f/JDlbkEkQ g==; X-CSE-ConnectionGUID: A2WXXHTNQbqhpj/T5H48rA== X-CSE-MsgGUID: La4tyUiPRo+yGak3meGJFQ== 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; 27 Apr 2026 11:42:06 +0900 X-CSE-ConnectionGUID: lBeFfeEhTdCwKS4pXM/ITA== X-CSE-MsgGUID: 4YLeYhxMRa2Yx4TTtDP+/g== X-IronPort-AV: E=Sophos;i="6.23,201,1770562800"; d="scan'208";a="52275261" 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; 27 Apr 2026 11:42:05 +0900 From: Shashank Balaji Date: Mon, 27 Apr 2026 11:41:24 +0900 Subject: [PATCH v4 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: <20260427-acpi_mod_name-v4-4-22b42240c9bf@sony.com> References: <20260427-acpi_mod_name-v4-0-22b42240c9bf@sony.com> In-Reply-To: <20260427-acpi_mod_name-v4-0-22b42240c9bf@sony.com> To: Suzuki K Poulose , 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 , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , Mike Leach , Leo Yan , Mike Leach 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 , linux-modules@vger.kernel.org X-Mailer: b4 0.16-dev-3bfbc X-Developer-Signature: v=1; a=openpgp-sha256; l=1165; i=shashank.mahadasyam@sony.com; h=from:subject:message-id; bh=Ntxs4LrM9nMix70BKY/iLLvKQ7C8YsLHb8BjcRBYfF0=; b=owGbwMvMwCU2bX1+URVTXyjjabUkhsx3Z37dP5picffdXU5/nzP2lrWFZ/60ahV/nu7mI7aK/ cZZ928bOkpZGMS4GGTFFFlKlap/7V0RtKTnzGtFmDmsTCBDGLg4BWAiVjKMDJMEdF50TzXKPv9U TVJjv4b/9lrv4CvbMmqLLvH9zhC/8JqRYTLXfx+7IA9NltunV3Jzzgq5qj/X4WDjH9tf3l9O7fU w5AUA X-Developer-Key: i=shashank.mahadasyam@sony.com; a=openpgp; fpr=75227BFABDA852A48CCCEB2196AF6F727A028E55 Sync the function signature of __platform_register_driver() between the code and the doc. 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