Commit 4d70881a authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Greg Kroah-Hartman

staging: mfd: hi6421-spmi-pmic: fix some coding style issues

Checkpatch complains about some minor issues inside this
driver that were not addressed by the previous patch.

Address them.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/84b53d20632c84cc60b8dadfe937f3c54b355cef.1597647359.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1eb2784a
...@@ -189,7 +189,7 @@ static struct irq_chip hi6421_spmi_pmu_irqchip = { ...@@ -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, 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; struct hi6421_spmi_pmic *pmic = d->host_data;
...@@ -350,7 +350,7 @@ static int hi6421_spmi_pmic_probe(struct spmi_device *pdev) ...@@ -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 * The logic below will rely that the pmic is already stored at
* drvdata. * 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); pdev->dev.of_node);
ret = devm_mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE, ret = devm_mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE,
hi6421v600_devs, ARRAY_SIZE(hi6421v600_devs), hi6421v600_devs, ARRAY_SIZE(hi6421v600_devs),
......
...@@ -38,7 +38,7 @@ struct hi6421_spmi_pmic { ...@@ -38,7 +38,7 @@ struct hi6421_spmi_pmic {
unsigned int *irqs; unsigned int *irqs;
int irqnum; int irqnum;
int irqarray; 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; struct hi6421_spmi_irq_info irq_addr;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment