Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] iio: proximity: sx_common: Drop documentation of non existent struct element.
@ 2023-01-14 17:29 Jonathan Cameron
  2023-01-18 23:54 ` Stephen Boyd
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2023-01-14 17:29 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, Gwendal Grignou, Stephen Boyd

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(-)

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.
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: proximity: sx_common: Drop documentation of non existent struct element.
  2023-01-14 17:29 [PATCH] iio: proximity: sx_common: Drop documentation of non existent struct element Jonathan Cameron
@ 2023-01-18 23:54 ` Stephen Boyd
  2023-02-05 15:23   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2023-01-18 23:54 UTC (permalink / raw)
  To: Jonathan Cameron, linux-iio; +Cc: Jonathan Cameron, Gwendal Grignou

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: proximity: sx_common: Drop documentation of non existent struct element.
  2023-01-18 23:54 ` Stephen Boyd
@ 2023-02-05 15:23   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2023-02-05 15:23 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: linux-iio, Jonathan Cameron, Gwendal Grignou

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-05 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-14 17:29 [PATCH] iio: proximity: sx_common: Drop documentation of non existent struct element Jonathan Cameron
2023-01-18 23:54 ` Stephen Boyd
2023-02-05 15:23   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox