mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 15:03:53 +02: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
|
@ -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…
Reference in New Issue
Block a user