staging: hikey9xx: change spaces to tabs
authorAtul Gopinathan <leoatul12@gmail.com>
Tue, 9 Feb 2021 08:19:34 +0000 (13:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Feb 2021 08:28:19 +0000 (09:28 +0100)
Fix the following type of checkpatch error:
"ERROR: code indent should use tabs where possible"

Signed-off-by: Atul Gopinathan <leoatul12@gmail.com>
Link: https://lore.kernel.org/r/20210209081935.3084-1-leoatul12@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/hi6421-spmi-pmic.c
drivers/staging/hikey9xx/hi6421v600-regulator.c

index 2301f4fcd48d95b6935cf29d67267495df7a18e5..9c5e113e1a8174e143b65811f4962db171efeb72 100644 (file)
@@ -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);
index c801bb84096276cc1303ab3655ad190fa19591fa..f6a14e9c3cbfef7cb3d0aa8fdad3ee16a14a58a4 100644 (file)
@@ -106,7 +106,7 @@ static int hi6421_spmi_regulator_enable(struct regulator_dev *rdev)
 
        ret = regmap_update_bits(pmic->regmap, rdev->desc->enable_reg,
                                 rdev->desc->enable_mask,
-                                rdev->desc->enable_mask);
+                                rdev->desc->enable_mask);
 
        /* Avoid powering up multiple devices at the same time */
        usleep_range(rdev->desc->off_on_delay, rdev->desc->off_on_delay + 60);