ARM: OMAP2+: fix spellint typo
authorWang Qing <wangqing@vivo.com>
Thu, 17 Sep 2020 07:49:35 +0000 (15:49 +0800)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Jan 2021 11:43:17 +0000 (13:43 +0200)
Change the comment typo: "ununsed" -> "unused".

Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clockdomain.c

index dedd47e30b982791a5c103c6c189e69dbc4705a1..1feb0098705e5ccc8fc37a60a8c0defca02a0ca5 100644 (file)
@@ -1299,7 +1299,7 @@ int clkdm_hwmod_disable(struct clockdomain *clkdm, struct omap_hwmod *oh)
  * Due to a suspend or hibernation operation, the state of the registers
  * controlling this clkdm will be lost, save their context.
  */
-static int _clkdm_save_context(struct clockdomain *clkdm, void *ununsed)
+static int _clkdm_save_context(struct clockdomain *clkdm, void *unused)
 {
        if (!arch_clkdm || !arch_clkdm->clkdm_save_context)
                return -EINVAL;
@@ -1312,7 +1312,7 @@ static int _clkdm_save_context(struct clockdomain *clkdm, void *ununsed)
  *
  * Restore the register values for this clockdomain.
  */
-static int _clkdm_restore_context(struct clockdomain *clkdm, void *ununsed)
+static int _clkdm_restore_context(struct clockdomain *clkdm, void *unused)
 {
        if (!arch_clkdm || !arch_clkdm->clkdm_restore_context)
                return -EINVAL;