diff mbox series

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

Message ID 20230114172928.80414-1-jic23@kernel.org (mailing list archive)
State Accepted
Headers show
Series iio: proximity: sx_common: Drop documentation of non existent struct element. | expand

Commit Message

Jonathan Cameron Jan. 14, 2023, 5:29 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

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>
---
 drivers/iio/proximity/sx_common.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Stephen Boyd Jan. 18, 2023, 11:54 p.m. UTC | #1
Quoting Jonathan Cameron (2023-01-14 09:29:28)
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> 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>
Jonathan Cameron Feb. 5, 2023, 3:23 p.m. UTC | #2
On Wed, 18 Jan 2023 17:54:28 -0600
Stephen Boyd <swboyd@chromium.org> wrote:

> Quoting Jonathan Cameron (2023-01-14 09:29:28)
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > 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>

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
diff mbox series

Patch

diff --git a/drivers/iio/proximity/sx_common.h b/drivers/iio/proximity/sx_common.h
index a706f4060978..a3335259bcf7 100644
--- a/drivers/iio/proximity/sx_common.h
+++ b/drivers/iio/proximity/sx_common.h
@@ -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.