diff mbox series

i2c: add kdoc for the new debugfs entry of clients

Message ID 20250115073918.8297-1-wsa+renesas@sang-engineering.com (mailing list archive)
State New
Delegated to: Geert Uytterhoeven
Headers show
Series i2c: add kdoc for the new debugfs entry of clients | expand

Commit Message

Wolfram Sang Jan. 15, 2025, 7:39 a.m. UTC
When adding the new debugfs entry, its kdoc equivalent was forgotten.
Add it now.

Fixes: d06905d68610 ("i2c: add core-managed per-client directory in debugfs")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/r/20250115163146.6c48f066@canb.auug.org.au
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 include/linux/i2c.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Wolfram Sang Jan. 16, 2025, 5:20 p.m. UTC | #1
On Wed, Jan 15, 2025 at 08:39:18AM +0100, Wolfram Sang wrote:
> When adding the new debugfs entry, its kdoc equivalent was forgotten.
> Add it now.
> 
> Fixes: d06905d68610 ("i2c: add core-managed per-client directory in debugfs")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: https://lore.kernel.org/r/20250115163146.6c48f066@canb.auug.org.au
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Applied to for-next, thanks!
diff mbox series

Patch

diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 36de788dc7fe..c31fd1dba3bd 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -317,6 +317,8 @@  struct i2c_driver {
  *	calls it to pass on slave events to the slave driver.
  * @devres_group_id: id of the devres group that will be created for resources
  *	acquired when probing this device.
+ * @debugfs: pointer to the debugfs subdirectory which the I2C core created
+ *	for this client.
  *
  * An i2c_client identifies a single device (i.e. chip) connected to an
  * i2c bus. The behaviour exposed to Linux is defined by the driver