diff mbox series

[v1,3/7] ACPI: property: Satisfy kernel doc validator (part 1)

Message ID 20210210114320.3478-3-andriy.shevchenko@linux.intel.com
State Accepted
Commit c82ff99eaab83df6b962ce83521c456ba9cf44c2
Headers show
Series [v1,1/7] ACPI: property: Remove dead code | expand

Commit Message

Andy Shevchenko Feb. 10, 2021, 11:43 a.m. UTC
CHECK   drivers/acpi/property.c
 warning: Function parameter or member 'data' not described in 'acpi_data_get_property_array'
 warning: Excess function parameter 'adev' description in 'acpi_data_get_property_array'

Fixes: 3a7a2ab839ad ("ACPI / property: Extend fwnode_property_* to data-only subnodes")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/acpi/property.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c
index 9304c88ce446..a6b096575fc8 100644
--- a/drivers/acpi/property.c
+++ b/drivers/acpi/property.c
@@ -564,7 +564,7 @@  int acpi_node_prop_get(const struct fwnode_handle *fwnode,
 
 /**
  * acpi_data_get_property_array - return an ACPI array property with given name
- * @adev: ACPI data object to get the property from
+ * @data: ACPI data object to get the property from
  * @name: Name of the property
  * @type: Expected type of array elements
  * @obj: Location to store a pointer to the property value (if not NULL)