mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-04-13 09:59:31 +00:00
intel_th: core: fix kernel-doc warnings
Correct the function parameters based on a previous code patch to
eliminate kernel-doc warnings.
drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'drvdata' not described in 'intel_th_alloc'
drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struct member 'ndevres' not described in 'intel_th_alloc'
drivers/hwtracing/intel_th/core.c:866: warning: Excess function parameter 'irq' description in 'intel_th_alloc'
Fixes: 62a593022c
("intel_th: Communicate IRQ via resource")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Link: https://lore.kernel.org/r/20250111062851.910530-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
48dc1c3608
commit
73656a6ab6
1 changed files with 2 additions and 1 deletions
|
@ -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: data private to the driver
|
||||
* @devres: resources indexed by th_mmio_idx
|
||||
* @irq: irq number
|
||||
* @ndevres: number of entries in the @devres resources
|
||||
*/
|
||||
struct intel_th *
|
||||
intel_th_alloc(struct device *dev, const struct intel_th_drvdata *drvdata,
|
||||
|
|
Loading…
Add table
Reference in a new issue