* [PATCH-next] intel_th: Fix kernel-doc param for intel_th_alloc
@ 2024-04-30 10:07 Yang Li
0 siblings, 0 replies; only message in thread
From: Yang Li @ 2024-04-30 10:07 UTC (permalink / raw)
To: alexander.shishkin; +Cc: linux-kernel, Yang Li
This commit adds kernel-doc style comments with complete parameter
descriptions for the function intel_th_alloc.
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-30 10:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-30 10:07 [PATCH-next] intel_th: Fix kernel-doc param for intel_th_alloc Yang Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®