staging: mfd: hi6421-spmi-pmic: fix some coding style issues
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 17 Aug 2020 07:10:39 +0000 (09:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 14:15:24 +0000 (16:15 +0200)
Checkpatch complains about some minor issues inside this
driver that were not addressed by the previous patch.

Address them.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/84b53d20632c84cc60b8dadfe937f3c54b355cef.1597647359.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/hi6421-spmi-pmic.c
include/linux/mfd/hi6421-spmi-pmic.h

index 09cedfa1e4bb3b3e365cdcdab020bbd7df38c124..d8b84d64041e8c04e97b97c6182b127a23ce2714 100644 (file)
@@ -189,7 +189,7 @@ static struct irq_chip hi6421_spmi_pmu_irqchip = {
 };
 
 static int hi6421_spmi_irq_map(struct irq_domain *d, unsigned int virq,
-                       irq_hw_number_t hw)
+                              irq_hw_number_t hw)
 {
        struct hi6421_spmi_pmic *pmic = d->host_data;
 
@@ -350,7 +350,7 @@ static int hi6421_spmi_pmic_probe(struct spmi_device *pdev)
         * The logic below will rely that the pmic is already stored at
         * drvdata.
         */
-       dev_dbg(&pdev->dev, "SPMI-PMIC: adding childs for %pOF\n",
+       dev_dbg(&pdev->dev, "SPMI-PMIC: adding children for %pOF\n",
                pdev->dev.of_node);
        ret = devm_mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE,
                                   hi6421v600_devs, ARRAY_SIZE(hi6421v600_devs),
index d12ad7484018a1e9f370af604edf1b8f51200958..403fd8bb45fa342236d96494cca0c0a7d72724cf 100644 (file)
@@ -38,7 +38,7 @@ struct hi6421_spmi_pmic {
        unsigned int                            *irqs;
        int                                     irqnum;
        int                                     irqarray;
-       struct hi6421_spmi_irq_mask_info        irq_mask_addr;
+       struct hi6421_spmi_irq_mask_info        irq_mask_addr;
        struct hi6421_spmi_irq_info             irq_addr;
 };