scsi: pm8001: fix spelling mistake, interupt -> interrupt
Rename the functions pm8001_chip_is_our_interupt, pm80xx_chip_is_our_interupt and function pointer is_our_interrupt to fix spelling mistakes. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
292c04cca8
commit
f310a4eab8
|
|
@ -4625,7 +4625,7 @@ static int pm8001_chip_phy_ctl_req(struct pm8001_hba_info *pm8001_ha,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static u32 pm8001_chip_is_our_interupt(struct pm8001_hba_info *pm8001_ha)
|
static u32 pm8001_chip_is_our_interrupt(struct pm8001_hba_info *pm8001_ha)
|
||||||
{
|
{
|
||||||
#ifdef PM8001_USE_MSIX
|
#ifdef PM8001_USE_MSIX
|
||||||
return 1;
|
return 1;
|
||||||
|
|
@ -5122,7 +5122,7 @@ const struct pm8001_dispatch pm8001_8001_dispatch = {
|
||||||
.chip_rst = pm8001_hw_chip_rst,
|
.chip_rst = pm8001_hw_chip_rst,
|
||||||
.chip_iounmap = pm8001_chip_iounmap,
|
.chip_iounmap = pm8001_chip_iounmap,
|
||||||
.isr = pm8001_chip_isr,
|
.isr = pm8001_chip_isr,
|
||||||
.is_our_interupt = pm8001_chip_is_our_interupt,
|
.is_our_interrupt = pm8001_chip_is_our_interrupt,
|
||||||
.isr_process_oq = process_oq,
|
.isr_process_oq = process_oq,
|
||||||
.interrupt_enable = pm8001_chip_interrupt_enable,
|
.interrupt_enable = pm8001_chip_interrupt_enable,
|
||||||
.interrupt_disable = pm8001_chip_interrupt_disable,
|
.interrupt_disable = pm8001_chip_interrupt_disable,
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,7 @@ static irqreturn_t pm8001_interrupt_handler_msix(int irq, void *opaque)
|
||||||
|
|
||||||
if (unlikely(!pm8001_ha))
|
if (unlikely(!pm8001_ha))
|
||||||
return IRQ_NONE;
|
return IRQ_NONE;
|
||||||
if (!PM8001_CHIP_DISP->is_our_interupt(pm8001_ha))
|
if (!PM8001_CHIP_DISP->is_our_interrupt(pm8001_ha))
|
||||||
return IRQ_NONE;
|
return IRQ_NONE;
|
||||||
#ifdef PM8001_USE_TASKLET
|
#ifdef PM8001_USE_TASKLET
|
||||||
tasklet_schedule(&pm8001_ha->tasklet[irq_vector->irq_id]);
|
tasklet_schedule(&pm8001_ha->tasklet[irq_vector->irq_id]);
|
||||||
|
|
@ -224,7 +224,7 @@ static irqreturn_t pm8001_interrupt_handler_intx(int irq, void *dev_id)
|
||||||
pm8001_ha = sha->lldd_ha;
|
pm8001_ha = sha->lldd_ha;
|
||||||
if (unlikely(!pm8001_ha))
|
if (unlikely(!pm8001_ha))
|
||||||
return IRQ_NONE;
|
return IRQ_NONE;
|
||||||
if (!PM8001_CHIP_DISP->is_our_interupt(pm8001_ha))
|
if (!PM8001_CHIP_DISP->is_our_interrupt(pm8001_ha))
|
||||||
return IRQ_NONE;
|
return IRQ_NONE;
|
||||||
|
|
||||||
#ifdef PM8001_USE_TASKLET
|
#ifdef PM8001_USE_TASKLET
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ struct pm8001_dispatch {
|
||||||
int (*chip_ioremap)(struct pm8001_hba_info *pm8001_ha);
|
int (*chip_ioremap)(struct pm8001_hba_info *pm8001_ha);
|
||||||
void (*chip_iounmap)(struct pm8001_hba_info *pm8001_ha);
|
void (*chip_iounmap)(struct pm8001_hba_info *pm8001_ha);
|
||||||
irqreturn_t (*isr)(struct pm8001_hba_info *pm8001_ha, u8 vec);
|
irqreturn_t (*isr)(struct pm8001_hba_info *pm8001_ha, u8 vec);
|
||||||
u32 (*is_our_interupt)(struct pm8001_hba_info *pm8001_ha);
|
u32 (*is_our_interrupt)(struct pm8001_hba_info *pm8001_ha);
|
||||||
int (*isr_process_oq)(struct pm8001_hba_info *pm8001_ha, u8 vec);
|
int (*isr_process_oq)(struct pm8001_hba_info *pm8001_ha, u8 vec);
|
||||||
void (*interrupt_enable)(struct pm8001_hba_info *pm8001_ha, u8 vec);
|
void (*interrupt_enable)(struct pm8001_hba_info *pm8001_ha, u8 vec);
|
||||||
void (*interrupt_disable)(struct pm8001_hba_info *pm8001_ha, u8 vec);
|
void (*interrupt_disable)(struct pm8001_hba_info *pm8001_ha, u8 vec);
|
||||||
|
|
|
||||||
|
|
@ -4617,7 +4617,7 @@ static int pm80xx_chip_phy_ctl_req(struct pm8001_hba_info *pm8001_ha,
|
||||||
return pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0);
|
return pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static u32 pm80xx_chip_is_our_interupt(struct pm8001_hba_info *pm8001_ha)
|
static u32 pm80xx_chip_is_our_interrupt(struct pm8001_hba_info *pm8001_ha)
|
||||||
{
|
{
|
||||||
#ifdef PM8001_USE_MSIX
|
#ifdef PM8001_USE_MSIX
|
||||||
return 1;
|
return 1;
|
||||||
|
|
@ -4725,7 +4725,7 @@ const struct pm8001_dispatch pm8001_80xx_dispatch = {
|
||||||
.chip_rst = pm80xx_hw_chip_rst,
|
.chip_rst = pm80xx_hw_chip_rst,
|
||||||
.chip_iounmap = pm8001_chip_iounmap,
|
.chip_iounmap = pm8001_chip_iounmap,
|
||||||
.isr = pm80xx_chip_isr,
|
.isr = pm80xx_chip_isr,
|
||||||
.is_our_interupt = pm80xx_chip_is_our_interupt,
|
.is_our_interrupt = pm80xx_chip_is_our_interrupt,
|
||||||
.isr_process_oq = process_oq,
|
.isr_process_oq = process_oq,
|
||||||
.interrupt_enable = pm80xx_chip_interrupt_enable,
|
.interrupt_enable = pm80xx_chip_interrupt_enable,
|
||||||
.interrupt_disable = pm80xx_chip_interrupt_disable,
|
.interrupt_disable = pm80xx_chip_interrupt_disable,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue