usb: dwc2: Fixed a few typos in comments
authorMickael Maison <mickael.maison@gmail.com>
Tue, 23 Dec 2014 16:39:45 +0000 (17:39 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:13:24 +0000 (12:13 -0600)
Fixed 3 typos in comments

Signed-off-by: Mickael Maison <mickael.maison@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h
drivers/usb/dwc2/gadget.c

index 7605850b7a9cea3a108c01dcdebf9c44851016c3..d5197d492e2179a28809d55ed4364b4152caf7ad 100644 (file)
@@ -462,7 +462,7 @@ int dwc2_core_init(struct dwc2_hsotg *hsotg, bool select_phy, int irq)
        dwc2_enable_common_interrupts(hsotg);
 
        /*
-        * Do device or host intialization based on mode during PCD and
+        * Do device or host initialization based on mode during PCD and
         * HCD initialization
         */
        if (dwc2_is_host_mode(hsotg)) {
index 7a70a1349334d6456c1486021afec9b51b0c4b93..0d2ee29ac85ad528bb2a0e1dae9926a5aa055439 100644 (file)
@@ -381,7 +381,7 @@ struct dwc2_core_params {
  * @power_optimized     Are power optimizations enabled?
  * @num_dev_ep          Number of device endpoints available
  * @num_dev_perio_in_ep Number of device periodic IN endpoints
- *                      avaialable
+ *                      available
  * @dev_token_q_depth   Device Mode IN Token Sequence Learning Queue
  *                      Depth
  *                       0 to 30
index 200168ec2d7567e63ce9b8a8fa4afb0009b85831..ede69dc75f0d2ea4d3b3bbc02359b4e831726e09 100644 (file)
@@ -65,7 +65,7 @@ static inline void __bic32(void __iomem *ptr, u32 val)
        writel(readl(ptr) & ~val, ptr);
 }
 
-/* forward decleration of functions */
+/* forward declaration of functions */
 static void s3c_hsotg_dump(struct dwc2_hsotg *hsotg);
 
 /**