Re: [PATCH v5 5/5] iio: proximity: rfd77402: Document device private data structure
From: Andy Shevchenko
Date: Thu Jan 15 2026 - 03:43:46 EST
On Thu, Jan 15, 2026 at 01:57:41PM +0530, Shrikant Raskar via B4 Relay wrote:
> Add kernel-doc style comments for struct rfd77402_data to describe
> the purpose of each member.
It's not a kernel-doc.
...
> +/*
This marker is of the regular comment.
> + * struct rfd77402_data - device-specific data for the RFD77402 sensor
> + * @client: I2C client handle
> + * @lock: mutex to serialize sensor reads
> + * @completion: completion used for interrupt-driven measurements
> + * @irq_en: indicates whether interrupt mode is enabled
> + */
It should be done before the patch that adds new members to the data structure.
--
With Best Regards,
Andy Shevchenko