]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
iommu/exynos: Fix typos
authorAndrew Kreimer <algonell@gmail.com>
Mon, 10 Feb 2025 11:20:04 +0000 (13:20 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 14 Feb 2025 08:12:46 +0000 (09:12 +0100)
There are some typos in comments/messages:
 - modyfying -> modifying
 - Unabled -> Unable

Fix them via codespell.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Link: https://lore.kernel.org/r/20250210112027.29791-1-algonell@gmail.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c

index c666ecab955d210087abeb81af6b9ca3341dc2cf..69e23e017d9e5f04d1bfe600ddb79f19ac924f32 100644 (file)
@@ -249,7 +249,7 @@ struct exynos_iommu_domain {
        struct list_head clients; /* list of sysmmu_drvdata.domain_node */
        sysmmu_pte_t *pgtable;  /* lv1 page table, 16KB */
        short *lv2entcnt;       /* free lv2 entry counter for each section */
-       spinlock_t lock;        /* lock for modyfying list of clients */
+       spinlock_t lock;        /* lock for modifying list of clients */
        spinlock_t pgtablelock; /* lock for modifying page table @ pgtable */
        struct iommu_domain domain; /* generic domain data structure */
 };
@@ -292,7 +292,7 @@ struct sysmmu_drvdata {
        struct clk *aclk;               /* SYSMMU's aclk clock */
        struct clk *pclk;               /* SYSMMU's pclk clock */
        struct clk *clk_master;         /* master's device clock */
-       spinlock_t lock;                /* lock for modyfying state */
+       spinlock_t lock;                /* lock for modifying state */
        bool active;                    /* current status */
        struct exynos_iommu_domain *domain; /* domain we belong to */
        struct list_head domain_node;   /* node for domain clients list */
@@ -746,7 +746,7 @@ static int exynos_sysmmu_probe(struct platform_device *pdev)
        ret = devm_request_irq(dev, irq, exynos_sysmmu_irq, 0,
                                dev_name(dev), data);
        if (ret) {
-               dev_err(dev, "Unabled to register handler of irq %d\n", irq);
+               dev_err(dev, "Unable to register handler of irq %d\n", irq);
                return ret;
        }