pvpanic: Fix typos in the comments
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 29 Aug 2021 12:43:53 +0000 (15:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jun 2022 16:36:06 +0000 (18:36 +0200)
[ Upstream commit cc5b392d0f94f27743583140d819fa35a46899db ]

Fix a few spelling typos in the comments.

Reviewed-by: Mihai Carabas <mihai.carabas@oracle.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210829124354.81653-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/misc/pvpanic/pvpanic-mmio.c
drivers/misc/pvpanic/pvpanic.c

index be40160..61dbff5 100644 (file)
@@ -100,7 +100,7 @@ static int pvpanic_mmio_probe(struct platform_device *pdev)
        pi->base = base;
        pi->capability = PVPANIC_PANICKED | PVPANIC_CRASH_LOADED;
 
-       /* initlize capability by RDPT */
+       /* initialize capability by RDPT */
        pi->capability &= ioread8(base);
        pi->events = pi->capability;
 
index bb7aa63..700d7d0 100644 (file)
@@ -58,7 +58,7 @@ pvpanic_panic_notify(struct notifier_block *nb, unsigned long code,
 
 static struct notifier_block pvpanic_panic_nb = {
        .notifier_call = pvpanic_panic_notify,
-       .priority = 1, /* let this called before broken drm_fb_helper */
+       .priority = 1, /* let this called before broken drm_fb_helper() */
 };
 
 static void pvpanic_remove(void *param)