@@ -90,7 +90,7 @@ struct cxl_dev_id {
90
90
};
91
91
92
92
static int cxl_request_irq (struct cxl_dev_state * cxlds , int irq ,
93
- irq_handler_t handler , irq_handler_t thread_fn )
93
+ irq_handler_t thread_fn )
94
94
{
95
95
struct device * dev = cxlds -> dev ;
96
96
struct cxl_dev_id * dev_id ;
@@ -101,9 +101,9 @@ static int cxl_request_irq(struct cxl_dev_state *cxlds, int irq,
101
101
return - ENOMEM ;
102
102
dev_id -> cxlds = cxlds ;
103
103
104
- return devm_request_threaded_irq (dev , irq , handler , thread_fn ,
105
- IRQF_SHARED | IRQF_ONESHOT ,
106
- NULL , dev_id );
104
+ return devm_request_threaded_irq (dev , irq , NULL , thread_fn ,
105
+ IRQF_SHARED | IRQF_ONESHOT , NULL ,
106
+ dev_id );
107
107
}
108
108
109
109
static bool cxl_mbox_background_complete (struct cxl_dev_state * cxlds )
@@ -440,7 +440,7 @@ static int cxl_pci_setup_mailbox(struct cxl_memdev_state *mds)
440
440
if (irq < 0 )
441
441
return 0 ;
442
442
443
- if (cxl_request_irq (cxlds , irq , NULL , cxl_pci_mbox_irq ))
443
+ if (cxl_request_irq (cxlds , irq , cxl_pci_mbox_irq ))
444
444
return 0 ;
445
445
446
446
dev_dbg (cxlds -> dev , "Mailbox interrupts enabled\n" );
@@ -638,7 +638,7 @@ static int cxl_event_req_irq(struct cxl_dev_state *cxlds, u8 setting)
638
638
if (irq < 0 )
639
639
return irq ;
640
640
641
- return cxl_request_irq (cxlds , irq , NULL , cxl_event_thread );
641
+ return cxl_request_irq (cxlds , irq , cxl_event_thread );
642
642
}
643
643
644
644
static int cxl_event_get_int_policy (struct cxl_memdev_state * mds ,
0 commit comments