summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMukul Mehar <mukulmehar02@gmail.com>2021-02-13 17:35:59 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-13 22:37:51 +0100
commit4eb839aef182fccf8995ee439fc2b48d43e45918 (patch)
tree96a65b7070894a34c1df38929d611907177cebe8 /drivers/staging
parent51063101f755c4c5b86aafec0438c08f592a66f4 (diff)
downloadlinux-stable-4eb839aef182fccf8995ee439fc2b48d43e45918.tar.gz
linux-stable-4eb839aef182fccf8995ee439fc2b48d43e45918.tar.bz2
linux-stable-4eb839aef182fccf8995ee439fc2b48d43e45918.zip
staging: hikey9xx: Fix alignment of function parameters
This patch fixes the following checkpatch.pl check: CHECK: Alignment should match open parenthesis Signed-off-by: Mukul Mehar <mukulmehar02@gmail.com> Link: https://lore.kernel.org/r/20210213120556.73579-1-mukulmehar02@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/hikey9xx/hi6421-spmi-pmic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c b/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
index 9c5e113e1a81..4ebcfea9f3bf 100644
--- a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
+++ b/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
@@ -177,7 +177,7 @@ static void hi6421_spmi_pmic_irq_init(struct hi6421_spmi_pmic *ddata)
for (i = 0; i < HISI_IRQ_ARRAY; i++)
regmap_write(ddata->regmap, SOC_PMIC_IRQ_MASK_0_ADDR + i,
- HISI_MASK);
+ HISI_MASK);
for (i = 0; i < HISI_IRQ_ARRAY; i++) {
regmap_read(ddata->regmap, SOC_PMIC_IRQ0_ADDR + i, &pending);
@@ -235,7 +235,7 @@ static int hi6421_spmi_pmic_probe(struct spmi_device *pdev)
return -ENOMEM;
ddata->domain = irq_domain_add_simple(np, HISI_IRQ_NUM, 0,
- &hi6421_spmi_domain_ops, ddata);
+ &hi6421_spmi_domain_ops, ddata);
if (!ddata->domain) {
dev_err(dev, "Failed to create IRQ domain\n");
return -ENODEV;