iio: proximity: sx_common: Drop documentation of non existent struct element.
Jonathan Cameron
maintainerPATCH 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.
--- drivers/iio/proximity/sx_common.h | 1 - 1 file changed, 1 deletion(-)
drivers/iio/proximity/sx_common.h +0 -1
@@ -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
Quoting Jonathan Cameron (2023-01-14 09:29:28)
Quoted 9 lines
From: Jonathan Cameron <[email protected]>
struct
sx_common_datadoesn't have anum_default_regselement so drop the documentation for it.Signed-off-by Jonathan Cameron <[email protected]>Cc Gwendal Grignou <[email protected]>Cc Stephen Boyd <[email protected]>---
Jonathan Cameron
maintainerQuoted 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_datadoesn't have anum_default_regselement so drop the documentation for it.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Jonathan Cameron <[email protected]>Cc Gwendal Grignou <[email protected]>Cc Stephen Boyd <[email protected]>---
Reviewed-by 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