crypto: qat - Fix typo in name of tasklet_struct
authorTadeusz Struk <tadeusz.struk@intel.com>
Wed, 10 Sep 2014 21:07:31 +0000 (14:07 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 24 Sep 2014 06:01:26 +0000 (14:01 +0800)
Fix typo. resp_hanlder should be resp_handler

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_transport_internal.h
drivers/crypto/qat/qat_dh895xcc/adf_isr.c

index f854bac276b0551acde5faea4250174406c112fe..c40546079981e61023558b25a272f7cf55de511e 100644 (file)
@@ -75,7 +75,7 @@ struct adf_etr_ring_data {
 
 struct adf_etr_bank_data {
        struct adf_etr_ring_data rings[ADF_ETR_MAX_RINGS_PER_BANK];
-       struct tasklet_struct resp_hanlder;
+       struct tasklet_struct resp_handler;
        void __iomem *csr_addr;
        struct adf_accel_dev *accel_dev;
        uint32_t irq_coalesc_timer;
index 1082e3b8a5d6a09a5ec040d887925a28752fd8c1..67ec61e51185b3e402da164d0c15b4b464d53ec6 100644 (file)
@@ -89,7 +89,7 @@ static irqreturn_t adf_msix_isr_bundle(int irq, void *bank_ptr)
        struct adf_etr_bank_data *bank = bank_ptr;
 
        WRITE_CSR_INT_FLAG_AND_COL(bank->csr_addr, bank->bank_number, 0);
-       tasklet_hi_schedule(&bank->resp_hanlder);
+       tasklet_hi_schedule(&bank->resp_handler);
        return IRQ_HANDLED;
 }
 
@@ -217,7 +217,7 @@ static int adf_setup_bh(struct adf_accel_dev *accel_dev)
        int i;
 
        for (i = 0; i < hw_data->num_banks; i++)
-               tasklet_init(&priv_data->banks[i].resp_hanlder,
+               tasklet_init(&priv_data->banks[i].resp_handler,
                             adf_response_handler,
                             (unsigned long)&priv_data->banks[i]);
        return 0;
@@ -230,8 +230,8 @@ static void adf_cleanup_bh(struct adf_accel_dev *accel_dev)
        int i;
 
        for (i = 0; i < hw_data->num_banks; i++) {
-               tasklet_disable(&priv_data->banks[i].resp_hanlder);
-               tasklet_kill(&priv_data->banks[i].resp_hanlder);
+               tasklet_disable(&priv_data->banks[i].resp_handler);
+               tasklet_kill(&priv_data->banks[i].resp_handler);
        }
 }