mfd: ricoh583: Correct typo in error message
Laxman Dewangan [Tue, 25 Oct 2011 12:47:38 +0000 (17:47 +0530)]
Correcting typo in the error messages.

bug 822562

Reviewed-on: http://git-master/r/60414
(cherry picked from commit 0accfaa34f91a19ae2aa8eba1f9fc1853ee91576)

Change-Id: Id99fc31bf7c00cab452999c6d133125f16f04e76
Reviewed-on: http://git-master/r/61437
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rb88e19b9510813424033dee100dd3d10f75dca7a

drivers/mfd/ricoh583.c

index 27e5063..794f6bf 100644 (file)
@@ -761,7 +761,7 @@ static int __devinit ricoh583_irq_init(struct ricoh583 *ricoh583, int irq,
                                ricoh583->irq_en_add[i],
                                ricoh583->irq_en_reg[i]);
                if (ret < 0)
-                       dev_err(ricoh583->dev, "Error in writin reg 0x%02x "
+                       dev_err(ricoh583->dev, "Error in writing reg 0x%02x "
                                "error: %d\n", ricoh583->irq_en_add[i], ret);
        }
 
@@ -770,13 +770,13 @@ static int __devinit ricoh583_irq_init(struct ricoh583 *ricoh583, int irq,
                                ricoh583->gpedge_add[i],
                                ricoh583->gpedge_reg[i]);
                if (ret < 0)
-                       dev_err(ricoh583->dev, "Error in writin reg 0x%02x "
+                       dev_err(ricoh583->dev, "Error in writing reg 0x%02x "
                                "error: %d\n", ricoh583->gpedge_add[i], ret);
        }
 
        ret = __ricoh583_write(ricoh583->client, RICOH583_INTC_INTEN, 0x0);
        if (ret < 0)
-               dev_err(ricoh583->dev, "Error in writin reg 0x%02x "
+               dev_err(ricoh583->dev, "Error in writing reg 0x%02x "
                                "error: %d\n", RICOH583_INTC_INTEN, ret);
 
        /* Clear all interrupts in case they woke up active. */
@@ -784,7 +784,7 @@ static int __devinit ricoh583_irq_init(struct ricoh583 *ricoh583, int irq,
                ret = __ricoh583_write(ricoh583->client,
                                        ricoh583->irq_clr_add[i], 0);
                if (ret < 0)
-                       dev_err(ricoh583->dev, "Error in writin reg 0x%02x "
+                       dev_err(ricoh583->dev, "Error in writing reg 0x%02x "
                                "error: %d\n", ricoh583->irq_clr_add[i], ret);
        }