diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-03-29 19:44:23 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-04-03 23:45:59 -0400 |
commit | f310a4eab8193ca1c6e29af4262a472d805ea6a4 (patch) | |
tree | 5a92737e8326bf808274a6b8ece70f6274932f9d | |
parent | 292c04cca8b7a260a8fbbd75bd3cc627409fa347 (diff) |
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>
-rw-r--r-- | drivers/scsi/pm8001/pm8001_hwi.c | 4 | ||||
-rw-r--r-- | drivers/scsi/pm8001/pm8001_init.c | 4 | ||||
-rw-r--r-- | drivers/scsi/pm8001/pm8001_sas.h | 2 | ||||
-rw-r--r-- | drivers/scsi/pm8001/pm80xx_hwi.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi/pm8001/pm8001_hwi.c index 43d03ca510cf..109effd3557d 100644 --- a/drivers/scsi/pm8001/pm8001_hwi.c +++ b/drivers/scsi/pm8001/pm8001_hwi.c | |||
@@ -4625,7 +4625,7 @@ static int pm8001_chip_phy_ctl_req(struct pm8001_hba_info *pm8001_ha, | |||
4625 | return ret; | 4625 | return ret; |
4626 | } | 4626 | } |
4627 | 4627 | ||
4628 | static u32 pm8001_chip_is_our_interupt(struct pm8001_hba_info *pm8001_ha) | 4628 | static u32 pm8001_chip_is_our_interrupt(struct pm8001_hba_info *pm8001_ha) |
4629 | { | 4629 | { |
4630 | #ifdef PM8001_USE_MSIX | 4630 | #ifdef PM8001_USE_MSIX |
4631 | return 1; | 4631 | return 1; |
@@ -5122,7 +5122,7 @@ const struct pm8001_dispatch pm8001_8001_dispatch = { | |||
5122 | .chip_rst = pm8001_hw_chip_rst, | 5122 | .chip_rst = pm8001_hw_chip_rst, |
5123 | .chip_iounmap = pm8001_chip_iounmap, | 5123 | .chip_iounmap = pm8001_chip_iounmap, |
5124 | .isr = pm8001_chip_isr, | 5124 | .isr = pm8001_chip_isr, |
5125 | .is_our_interupt = pm8001_chip_is_our_interupt, | 5125 | .is_our_interrupt = pm8001_chip_is_our_interrupt, |
5126 | .isr_process_oq = process_oq, | 5126 | .isr_process_oq = process_oq, |
5127 | .interrupt_enable = pm8001_chip_interrupt_enable, | 5127 | .interrupt_enable = pm8001_chip_interrupt_enable, |
5128 | .interrupt_disable = pm8001_chip_interrupt_disable, | 5128 | .interrupt_disable = pm8001_chip_interrupt_disable, |
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index a36060c23b37..3374f553c617 100644 --- a/drivers/scsi/pm8001/pm8001_init.c +++ b/drivers/scsi/pm8001/pm8001_init.c | |||
@@ -201,7 +201,7 @@ static irqreturn_t pm8001_interrupt_handler_msix(int irq, void *opaque) | |||
201 | 201 | ||
202 | if (unlikely(!pm8001_ha)) | 202 | if (unlikely(!pm8001_ha)) |
203 | return IRQ_NONE; | 203 | return IRQ_NONE; |
204 | if (!PM8001_CHIP_DISP->is_our_interupt(pm8001_ha)) | 204 | if (!PM8001_CHIP_DISP->is_our_interrupt(pm8001_ha)) |
205 | return IRQ_NONE; | 205 | return IRQ_NONE; |
206 | #ifdef PM8001_USE_TASKLET | 206 | #ifdef PM8001_USE_TASKLET |
207 | tasklet_schedule(&pm8001_ha->tasklet[irq_vector->irq_id]); | 207 | 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) | |||
224 | pm8001_ha = sha->lldd_ha; | 224 | pm8001_ha = sha->lldd_ha; |
225 | if (unlikely(!pm8001_ha)) | 225 | if (unlikely(!pm8001_ha)) |
226 | return IRQ_NONE; | 226 | return IRQ_NONE; |
227 | if (!PM8001_CHIP_DISP->is_our_interupt(pm8001_ha)) | 227 | if (!PM8001_CHIP_DISP->is_our_interrupt(pm8001_ha)) |
228 | return IRQ_NONE; | 228 | return IRQ_NONE; |
229 | 229 | ||
230 | #ifdef PM8001_USE_TASKLET | 230 | #ifdef PM8001_USE_TASKLET |
diff --git a/drivers/scsi/pm8001/pm8001_sas.h b/drivers/scsi/pm8001/pm8001_sas.h index f88b0d33c385..ac6d8e3f22de 100644 --- a/drivers/scsi/pm8001/pm8001_sas.h +++ b/drivers/scsi/pm8001/pm8001_sas.h | |||
@@ -197,7 +197,7 @@ struct pm8001_dispatch { | |||
197 | int (*chip_ioremap)(struct pm8001_hba_info *pm8001_ha); | 197 | int (*chip_ioremap)(struct pm8001_hba_info *pm8001_ha); |
198 | void (*chip_iounmap)(struct pm8001_hba_info *pm8001_ha); | 198 | void (*chip_iounmap)(struct pm8001_hba_info *pm8001_ha); |
199 | irqreturn_t (*isr)(struct pm8001_hba_info *pm8001_ha, u8 vec); | 199 | irqreturn_t (*isr)(struct pm8001_hba_info *pm8001_ha, u8 vec); |
200 | u32 (*is_our_interupt)(struct pm8001_hba_info *pm8001_ha); | 200 | u32 (*is_our_interrupt)(struct pm8001_hba_info *pm8001_ha); |
201 | int (*isr_process_oq)(struct pm8001_hba_info *pm8001_ha, u8 vec); | 201 | int (*isr_process_oq)(struct pm8001_hba_info *pm8001_ha, u8 vec); |
202 | void (*interrupt_enable)(struct pm8001_hba_info *pm8001_ha, u8 vec); | 202 | void (*interrupt_enable)(struct pm8001_hba_info *pm8001_ha, u8 vec); |
203 | void (*interrupt_disable)(struct pm8001_hba_info *pm8001_ha, u8 vec); | 203 | void (*interrupt_disable)(struct pm8001_hba_info *pm8001_ha, u8 vec); |
diff --git a/drivers/scsi/pm8001/pm80xx_hwi.c b/drivers/scsi/pm8001/pm80xx_hwi.c index 4a176e60307f..301de40eb708 100644 --- a/drivers/scsi/pm8001/pm80xx_hwi.c +++ b/drivers/scsi/pm8001/pm80xx_hwi.c | |||
@@ -4617,7 +4617,7 @@ static int pm80xx_chip_phy_ctl_req(struct pm8001_hba_info *pm8001_ha, | |||
4617 | return pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); | 4617 | return pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); |
4618 | } | 4618 | } |
4619 | 4619 | ||
4620 | static u32 pm80xx_chip_is_our_interupt(struct pm8001_hba_info *pm8001_ha) | 4620 | static u32 pm80xx_chip_is_our_interrupt(struct pm8001_hba_info *pm8001_ha) |
4621 | { | 4621 | { |
4622 | #ifdef PM8001_USE_MSIX | 4622 | #ifdef PM8001_USE_MSIX |
4623 | return 1; | 4623 | return 1; |
@@ -4725,7 +4725,7 @@ const struct pm8001_dispatch pm8001_80xx_dispatch = { | |||
4725 | .chip_rst = pm80xx_hw_chip_rst, | 4725 | .chip_rst = pm80xx_hw_chip_rst, |
4726 | .chip_iounmap = pm8001_chip_iounmap, | 4726 | .chip_iounmap = pm8001_chip_iounmap, |
4727 | .isr = pm80xx_chip_isr, | 4727 | .isr = pm80xx_chip_isr, |
4728 | .is_our_interupt = pm80xx_chip_is_our_interupt, | 4728 | .is_our_interrupt = pm80xx_chip_is_our_interrupt, |
4729 | .isr_process_oq = process_oq, | 4729 | .isr_process_oq = process_oq, |
4730 | .interrupt_enable = pm80xx_chip_interrupt_enable, | 4730 | .interrupt_enable = pm80xx_chip_interrupt_enable, |
4731 | .interrupt_disable = pm80xx_chip_interrupt_disable, | 4731 | .interrupt_disable = pm80xx_chip_interrupt_disable, |