soc: ti: fix spelling mistake "instace" -> "instance"
authorColin King <colin.king@canonical.com>
Mon, 24 Sep 2018 19:43:21 +0000 (12:43 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 24 Sep 2018 19:43:21 +0000 (12:43 -0700)
Trivial fix to spelling mistake in dev_err messages and comments

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/soc/ti/knav_dma.c
drivers/soc/ti/knav_qmss.h

index 224d7ddeeb7674a787db31aeda9a631be8022871..23f09dce23e0413a472387bb75d25547810a7c0c 100644 (file)
@@ -438,7 +438,7 @@ void *knav_dma_open_channel(struct device *dev, const char *name,
 
        chan_num = of_channel_match_helper(dev->of_node, name, &instance);
        if (chan_num < 0) {
-               dev_err(kdev->dev, "No DMA instace with name %s\n", name);
+               dev_err(kdev->dev, "No DMA instance with name %s\n", name);
                return (void *)-EINVAL;
        }
 
@@ -461,7 +461,7 @@ void *knav_dma_open_channel(struct device *dev, const char *name,
                }
        }
        if (!found) {
-               dev_err(kdev->dev, "No DMA instace with name %s\n", instance);
+               dev_err(kdev->dev, "No DMA instance with name %s\n", instance);
                return (void *)-EINVAL;
        }
 
index 3efc47e82973b43ff7431bdacad428aea757bffc..7c128132799e0cd355c7bae1298d5a776b6c8ec9 100644 (file)
@@ -240,14 +240,14 @@ struct knav_pool {
 };
 
 /**
- * struct knav_queue_inst:             qmss queue instace properties
+ * struct knav_queue_inst:             qmss queue instance properties
  * @descs:                             descriptor pointer
  * @desc_head, desc_tail, desc_count:  descriptor counters
  * @acc:                               accumulator channel pointer
  * @kdev:                              qmss device pointer
  * @range:                             range info
  * @qmgr:                              queue manager info
- * @id:                                        queue instace id
+ * @id:                                        queue instance id
  * @irq_num:                           irq line number
  * @notify_needed:                     notifier needed based on queue type
  * @num_notifiers:                     total notifiers
@@ -274,7 +274,7 @@ struct knav_queue_inst {
 /**
  * struct knav_queue:                  qmss queue properties
  * @reg_push, reg_pop, reg_peek:       push, pop queue registers
- * @inst:                              qmss queue instace properties
+ * @inst:                              qmss queue instance properties
  * @notifier_fn:                       notifier function
  * @notifier_fn_arg:                   notifier function argument
  * @notifier_enabled:                  notier enabled for a give queue