platform/x86: intel_atomisp2_pm: Spelling fixes
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 9 Jan 2020 14:15:09 +0000 (16:15 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 10 Jan 2020 09:57:22 +0000 (11:57 +0200)
Fix ambiguous spelling in the comments.

While here, update two lines to fit one.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/intel_atomisp2_pm.c

index 27d5b40..f7def0a 100644 (file)
@@ -1299,9 +1299,9 @@ config INTEL_ATOMISP2_PM
        depends on PCI && IOSF_MBI && PM
        help
          Power-management driver for Intel's Image Signal Processor found on
-         Bay and Cherry Trail devices. This dummy driver's sole purpose is to
-         turn the ISP off (put it in D3) to save power and to allow entering
-         of S0ix modes.
+         Bay Trail and Cherry Trail devices. This dummy driver's sole purpose
+         is to turn the ISP off (put it in D3) to save power and to allow
+         entering of S0ix modes.
 
          To compile this driver as a module, choose M here: the module
          will be called intel_atomisp2_pm.
index 6c42003..805fc0d 100644 (file)
@@ -1,8 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Dummy driver for Intel's Image Signal Processor found on Bay and Cherry
- * Trail devices. The sole purpose of this driver is to allow the ISP to
- * be put in D3.
+ * Dummy driver for Intel's Image Signal Processor found on Bay Trail
+ * and Cherry Trail devices. The sole purpose of this driver is to allow
+ * the ISP to be put in D3.
  *
  * Copyright (C) 2018 Hans de Goede <hdegoede@redhat.com>
  *
@@ -36,8 +36,7 @@
 static int isp_set_power(struct pci_dev *dev, bool enable)
 {
        unsigned long timeout;
-       u32 val = enable ? ISPSSPM0_IUNIT_POWER_ON :
-               ISPSSPM0_IUNIT_POWER_OFF;
+       u32 val = enable ? ISPSSPM0_IUNIT_POWER_ON : ISPSSPM0_IUNIT_POWER_OFF;
 
        /* Write to ISPSSPM0 bit[1:0] to power on/off the IUNIT */
        iosf_mbi_modify(BT_MBI_UNIT_PMC, MBI_REG_READ, ISPSSPM0,
@@ -45,7 +44,7 @@ static int isp_set_power(struct pci_dev *dev, bool enable)
 
        /*
         * There should be no IUNIT access while power-down is
-        * in progress HW sighting: 4567865
+        * in progress. HW sighting: 4567865.
         * Wait up to 50 ms for the IUNIT to shut down.
         * And we do the same for power on.
         */