usb: phy: ab8500-usb: fix spelling mistake "regester" -> "register"
authorColin Ian King <colin.king@canonical.com>
Sun, 28 Aug 2016 11:16:19 +0000 (12:16 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 29 Aug 2016 07:46:05 +0000 (10:46 +0300)
Trivial fix to spelling mistakes in dev_err messages.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/phy/phy-ab8500-usb.c

index 0c912d3..a03caf4 100644 (file)
@@ -1248,7 +1248,7 @@ static void ab8500_usb_set_ab8500_tuning_values(struct ab8500_usb *ab)
        err = abx500_set_register_interruptible(ab->dev,
                        AB8500_DEBUG, AB8500_USB_PHY_TUNE3, 0x78);
        if (err < 0)
-               dev_err(ab->dev, "Failed to set PHY_TUNE3 regester err=%d\n",
+               dev_err(ab->dev, "Failed to set PHY_TUNE3 register err=%d\n",
                                err);
 
        /* Switch to normal mode/disable Bank 0x12 access */
@@ -1290,7 +1290,7 @@ static void ab8500_usb_set_ab8505_tuning_values(struct ab8500_usb *ab)
                        0xFC, 0x80);
 
        if (err < 0)
-               dev_err(ab->dev, "Failed to set PHY_TUNE3 regester err=%d\n",
+               dev_err(ab->dev, "Failed to set PHY_TUNE3 register err=%d\n",
                                err);
 
        /* Switch to normal mode/disable Bank 0x12 access */
@@ -1321,7 +1321,7 @@ static void ab8500_usb_set_ab8540_tuning_values(struct ab8500_usb *ab)
        err = abx500_set_register_interruptible(ab->dev,
                        AB8540_DEBUG, AB8500_USB_PHY_TUNE3, 0x90);
        if (err < 0)
-               dev_err(ab->dev, "Failed to set PHY_TUNE3 regester ret=%d\n",
+               dev_err(ab->dev, "Failed to set PHY_TUNE3 register ret=%d\n",
                                err);
 }
 
@@ -1351,7 +1351,7 @@ static void ab8500_usb_set_ab9540_tuning_values(struct ab8500_usb *ab)
        err = abx500_set_register_interruptible(ab->dev,
                        AB8500_DEBUG, AB8500_USB_PHY_TUNE3, 0x80);
        if (err < 0)
-               dev_err(ab->dev, "Failed to set PHY_TUNE3 regester err=%d\n",
+               dev_err(ab->dev, "Failed to set PHY_TUNE3 register err=%d\n",
                                err);
 
        /* Switch to normal mode/disable Bank 0x12 access */