Skip to contentSkip to conversation

iio: proximity: sx_common: Drop documentation of non existent struct element.

PATCH In review Jonathan Cameron 2 participants 3 messages Jan 14, 2023 – Feb 5, 2023 IIO

lore
Share & tools
lore

Jonathan Cameron

author maintainer
#0 lore raw

PATCH 1/1 iio: proximity: sx_common: Drop documentation of non existent struct element.

From: Jonathan Cameron <[email protected]>

struct sx_common_data doesn't have a num_default_regs element so drop the documentation for it.

Cc Gwendal Grignou <[email protected]>
Cc Stephen Boyd <[email protected]>
---
 drivers/iio/proximity/sx_common.h | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/proximity/sx_common.h +0 -1
index a706f4060978..a3335259bcf7 100644
@@ -107,7 +107,6 @@ struct sx_common_chip_info {
  * @regmap:		Register map.
  * @acpi_id:		ACPI device entry when the device is using APCI, NULL
  *			otherwise.
- * @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.
Signature · 1 line
2.39.0
author maintainer
#2 lore raw
Quoted 6 lines · On Wed, 18 Jan 2023 17:54:28 -0600 Stephen Boyd <[email protected]> wrote:

Quoting Jonathan Cameron (2023-01-14 09:29:28)

Quoted 5 lines

From: Jonathan Cameron <[email protected]>

struct sx_common_data doesn't have a num_default_regs element so drop the documentation for it.

Quoted 6 lines
Quoted 4 lines
Cc Gwendal Grignou <[email protected]>
Cc Stephen Boyd <[email protected]>

---

I rebased this on the new version of
[PATCH v3] iio: proximity: sx_common: Add old register mapping which changed the context a bit.

Applied to the togreg branch of iio.git and pushed out as testing for 0-day to look at it.

Jonathan