misc: alcor_pci: fix spelling mistake "invailid" -> "invalid"
authorColin Ian King <colin.king@canonical.com>
Thu, 6 Dec 2018 09:19:36 +0000 (09:19 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
There are spelling mistakes in a couple of dev_dbg messages, fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/misc/cardreader/alcor_pci.c

index 6872b8e29b4d58b5f2abd6827f385eb0741b58d2..bcb10fa4bc3a71a32c08f5b96794caa2a3b84857 100644 (file)
@@ -105,7 +105,7 @@ static int alcor_pci_find_cap_offset(struct alcor_pci_priv *priv,
        while (1) {
                pci_read_config_dword(pci, where, &val32);
                if (val32 == 0xffffffff) {
-                       dev_dbg(priv->dev, "find_cap_offset invailid value %x.\n",
+                       dev_dbg(priv->dev, "find_cap_offset invalid value %x.\n",
                                val32);
                        return 0;
                }
@@ -116,7 +116,7 @@ static int alcor_pci_find_cap_offset(struct alcor_pci_priv *priv,
                }
 
                if ((val32 & 0xff00) == 0x00) {
-                       dev_dbg(priv->dev, "pci_find_cap_offset invailid value %x.\n",
+                       dev_dbg(priv->dev, "pci_find_cap_offset invalid value %x.\n",
                                val32);
                        break;
                }