iio: proximity: sx_common: Drop documentation of non existent struct element.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 14 Jan 2023 17:29:28 +0000 (17:29 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 11 Mar 2023 12:18:28 +0000 (12:18 +0000)
struct sx_common_data doesn't have a num_default_regs element so
drop the documentation for it.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Gwendal Grignou <gwendal@chromium.org>
Cc: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20230114172928.80414-1-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/sx_common.h

index 49d4517..a2bbdef 100644 (file)
@@ -101,7 +101,6 @@ struct sx_common_chip_info {
  * @client:            I2C client structure.
  * @trig:              IIO trigger object.
  * @regmap:            Register map.
- * @num_default_regs:  Number of default registers to set at init.
  * @chan_prox_stat:    Last reading of the proximity status for each channel.
  *                     We only send an event to user space when this changes.
  * @trigger_enabled:   True when the device trigger is enabled.