diff options
| author | Shrikant Raskar <raskar.shree97@gmail.com> | 2026-01-28 23:21:52 +0530 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-01-29 17:49:00 +0000 |
| commit | 53516b6fdec09cb202ebf52b841cb25599f93688 (patch) | |
| tree | 5b754b93fe0903926f3dae7fc6c5706527f8c011 /drivers | |
| parent | dff4bdff074e1f92874676bed57970d19e3a86bd (diff) | |
iio: proximity: rfd77402: Document device private data structure
Add kernel-doc style comments for struct rfd77402_data to describe
the purpose of each member.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Shrikant Raskar <raskar.shree97@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/iio/proximity/rfd77402.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/iio/proximity/rfd77402.c b/drivers/iio/proximity/rfd77402.c index eec336bed424..0be49a6e401d 100644 --- a/drivers/iio/proximity/rfd77402.c +++ b/drivers/iio/proximity/rfd77402.c @@ -77,9 +77,13 @@ static const struct { {RFD77402_HFCFG_3, 0x45d4}, }; +/** + * struct rfd77402_data - device-specific data for the RFD77402 sensor + * @client: I2C client handle + * @lock: mutex to serialize sensor reads + */ struct rfd77402_data { struct i2c_client *client; - /* Serialize reads from the sensor */ struct mutex lock; }; |
