Skip to content

Commit 813bbc4

Browse files
author
Danilo Krummrich
committed
hwmon: axi-fan: don't use driver_override as IRQ name
Do not use driver_override as IRQ name, as it is not guaranteed to point to a valid string; use NULL instead (which makes the devm IRQ helpers use dev_name()). Fixes: 8412b41 ("hwmon: Support ADI Fan Control IP") Reviewed-by: Nuno Sá <[email protected]> Acked-by: Guenter Roeck <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
1 parent bcd085d commit 813bbc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hwmon/axi-fan-control.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ static int axi_fan_control_probe(struct platform_device *pdev)
507507
ret = devm_request_threaded_irq(&pdev->dev, ctl->irq, NULL,
508508
axi_fan_control_irq_handler,
509509
IRQF_ONESHOT | IRQF_TRIGGER_HIGH,
510-
pdev->driver_override, ctl);
510+
NULL, ctl);
511511
if (ret)
512512
return dev_err_probe(&pdev->dev, ret,
513513
"failed to request an irq\n");

0 commit comments

Comments
 (0)