This commit adds kernel-doc style comments with complete parameter
descriptions for the function intel_th_alloc.
Signed-off-by: Yang Li <[email protected]>
---
drivers/hwtracing/intel_th/core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/hwtracing/intel_th/core.c b/drivers/hwtracing/intel_th/core.c
index 86c8efecd7c2..7f85d69fc8a3 100644
--- a/drivers/hwtracing/intel_th/core.c
+++ b/drivers/hwtracing/intel_th/core.c
@@ -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,
--
2.20.1.7.g153144c