Skip to contentSkip to conversation

intel_th: Fix kernel-doc param for intel_th_alloc

PATCH-next Yang Li 1 participant 1 message Apr 30, 2024

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

This commit adds kernel-doc style comments with complete parameter descriptions for the function intel_th_alloc.

---
 drivers/hwtracing/intel_th/core.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hwtracing/intel_th/core.c +2 -1
index 86c8efecd7c2..7f85d69fc8a3 100644
@@ -857,8 +857,9 @@ static irqreturn_t intel_th_irq(int irq, void *data)
 /**
  * intel_th_alloc() - allocate a new Intel TH device and its subdevices
  * @dev:	parent device
+ * @drvdata:	driver-specific data
  * @devres:	resources indexed by th_mmio_idx
- * @irq:	irq number
+ * @ndevres:	Number of device resources.
  */
 struct intel_th *
 intel_th_alloc(struct device *dev, const struct intel_th_drvdata *drvdata,
Signature · 1 line
2.20.1.7.g153144c