Skip to content

Commit d338fe4

Browse files
konradybcioandersson
authored andcommitted
soc: qcom: rpmpd: Make bindings assignments consistent
Currently the whitespace between [DT_BINDING] = &struct is all over the place.. some SoC structs have a space, others have a tab, others have N tabs.. Make that a single tab for everybody to keep things coherent. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230313-topic-rpmpd-v3-7-06a4f448ff90@linaro.org
1 parent 07df050 commit d338fe4

1 file changed

Lines changed: 59 additions & 59 deletions

File tree

drivers/soc/qcom/rpmpd.c

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -642,16 +642,16 @@ static const struct rpmpd_desc msm8996_desc = {
642642

643643
/* msm8998 RPM Power domains */
644644
static struct rpmpd *msm8998_rpmpds[] = {
645-
[MSM8998_VDDCX] = &cx_rwcx0_lvl,
646-
[MSM8998_VDDCX_AO] = &cx_rwcx0_lvl_ao,
647-
[MSM8998_VDDCX_VFL] = &cx_rwcx0_vfl,
648-
[MSM8998_VDDMX] = &mx_rwmx0_lvl,
649-
[MSM8998_VDDMX_AO] = &mx_rwmx0_lvl_ao,
650-
[MSM8998_VDDMX_VFL] = &mx_rwmx0_vfl,
651-
[MSM8998_SSCCX] = &ssc_cx_rwsc0_lvl,
652-
[MSM8998_SSCCX_VFL] = &ssc_cx_rwsc0_vfl,
653-
[MSM8998_SSCMX] = &ssc_mx_rwsm0_lvl,
654-
[MSM8998_SSCMX_VFL] = &ssc_mx_rwsm0_vfl,
645+
[MSM8998_VDDCX] = &cx_rwcx0_lvl,
646+
[MSM8998_VDDCX_AO] = &cx_rwcx0_lvl_ao,
647+
[MSM8998_VDDCX_VFL] = &cx_rwcx0_vfl,
648+
[MSM8998_VDDMX] = &mx_rwmx0_lvl,
649+
[MSM8998_VDDMX_AO] = &mx_rwmx0_lvl_ao,
650+
[MSM8998_VDDMX_VFL] = &mx_rwmx0_vfl,
651+
[MSM8998_SSCCX] = &ssc_cx_rwsc0_lvl,
652+
[MSM8998_SSCCX_VFL] = &ssc_cx_rwsc0_vfl,
653+
[MSM8998_SSCMX] = &ssc_mx_rwsm0_lvl,
654+
[MSM8998_SSCMX_VFL] = &ssc_mx_rwsm0_vfl,
655655
};
656656

657657
static const struct rpmpd_desc msm8998_desc = {
@@ -662,13 +662,13 @@ static const struct rpmpd_desc msm8998_desc = {
662662

663663
/* qcs404 RPM Power domains */
664664
static struct rpmpd *qcs404_rpmpds[] = {
665-
[QCS404_VDDMX] = &mx_rwmx0_lvl,
666-
[QCS404_VDDMX_AO] = &mx_rwmx0_lvl_ao,
667-
[QCS404_VDDMX_VFL] = &mx_rwmx0_vfl,
668-
[QCS404_LPICX] = &lpi_cx_rwlc0_lvl,
669-
[QCS404_LPICX_VFL] = &lpi_cx_rwlc0_vfl,
670-
[QCS404_LPIMX] = &lpi_mx_rwlm0_lvl,
671-
[QCS404_LPIMX_VFL] = &lpi_mx_rwlm0_vfl,
665+
[QCS404_VDDMX] = &mx_rwmx0_lvl,
666+
[QCS404_VDDMX_AO] = &mx_rwmx0_lvl_ao,
667+
[QCS404_VDDMX_VFL] = &mx_rwmx0_vfl,
668+
[QCS404_LPICX] = &lpi_cx_rwlc0_lvl,
669+
[QCS404_LPICX_VFL] = &lpi_cx_rwlc0_vfl,
670+
[QCS404_LPIMX] = &lpi_mx_rwlm0_lvl,
671+
[QCS404_LPIMX_VFL] = &lpi_mx_rwlm0_vfl,
672672
};
673673

674674
static const struct rpmpd_desc qcs404_desc = {
@@ -679,16 +679,16 @@ static const struct rpmpd_desc qcs404_desc = {
679679

680680
/* sdm660 RPM Power domains */
681681
static struct rpmpd *sdm660_rpmpds[] = {
682-
[SDM660_VDDCX] = &cx_rwcx0_lvl,
683-
[SDM660_VDDCX_AO] = &cx_rwcx0_lvl_ao,
684-
[SDM660_VDDCX_VFL] = &cx_rwcx0_vfl,
685-
[SDM660_VDDMX] = &mx_rwmx0_lvl,
686-
[SDM660_VDDMX_AO] = &mx_rwmx0_lvl_ao,
687-
[SDM660_VDDMX_VFL] = &mx_rwmx0_vfl,
688-
[SDM660_SSCCX] = &ssc_cx_rwlc0_lvl,
689-
[SDM660_SSCCX_VFL] = &ssc_cx_rwlc0_vfl,
690-
[SDM660_SSCMX] = &ssc_mx_rwlm0_lvl,
691-
[SDM660_SSCMX_VFL] = &ssc_mx_rwlm0_vfl,
682+
[SDM660_VDDCX] = &cx_rwcx0_lvl,
683+
[SDM660_VDDCX_AO] = &cx_rwcx0_lvl_ao,
684+
[SDM660_VDDCX_VFL] = &cx_rwcx0_vfl,
685+
[SDM660_VDDMX] = &mx_rwmx0_lvl,
686+
[SDM660_VDDMX_AO] = &mx_rwmx0_lvl_ao,
687+
[SDM660_VDDMX_VFL] = &mx_rwmx0_vfl,
688+
[SDM660_SSCCX] = &ssc_cx_rwlc0_lvl,
689+
[SDM660_SSCCX_VFL] = &ssc_cx_rwlc0_vfl,
690+
[SDM660_SSCMX] = &ssc_mx_rwlm0_lvl,
691+
[SDM660_SSCMX_VFL] = &ssc_mx_rwlm0_vfl,
692692
};
693693

694694
static const struct rpmpd_desc sdm660_desc = {
@@ -699,14 +699,14 @@ static const struct rpmpd_desc sdm660_desc = {
699699

700700
/* sm4250/6115 RPM Power domains */
701701
static struct rpmpd *sm6115_rpmpds[] = {
702-
[SM6115_VDDCX] = &cx_rwcx0_lvl,
703-
[SM6115_VDDCX_AO] = &cx_rwcx0_lvl_ao,
704-
[SM6115_VDDCX_VFL] = &cx_rwcx0_vfl,
705-
[SM6115_VDDMX] = &mx_rwmx0_lvl,
706-
[SM6115_VDDMX_AO] = &mx_rwmx0_lvl_ao,
707-
[SM6115_VDDMX_VFL] = &mx_rwmx0_vfl,
708-
[SM6115_VDD_LPI_CX] = &lpi_cx_rwlc0_lvl,
709-
[SM6115_VDD_LPI_MX] = &lpi_mx_rwlm0_lvl,
702+
[SM6115_VDDCX] = &cx_rwcx0_lvl,
703+
[SM6115_VDDCX_AO] = &cx_rwcx0_lvl_ao,
704+
[SM6115_VDDCX_VFL] = &cx_rwcx0_vfl,
705+
[SM6115_VDDMX] = &mx_rwmx0_lvl,
706+
[SM6115_VDDMX_AO] = &mx_rwmx0_lvl_ao,
707+
[SM6115_VDDMX_VFL] = &mx_rwmx0_vfl,
708+
[SM6115_VDD_LPI_CX] = &lpi_cx_rwlc0_lvl,
709+
[SM6115_VDD_LPI_MX] = &lpi_mx_rwlm0_lvl,
710710
};
711711

712712
static const struct rpmpd_desc sm6115_desc = {
@@ -717,12 +717,12 @@ static const struct rpmpd_desc sm6115_desc = {
717717

718718
/* sm6125 RPM Power domains */
719719
static struct rpmpd *sm6125_rpmpds[] = {
720-
[SM6125_VDDCX] = &cx_rwcx0_lvl,
721-
[SM6125_VDDCX_AO] = &cx_rwcx0_lvl_ao,
722-
[SM6125_VDDCX_VFL] = &cx_rwcx0_vfl,
723-
[SM6125_VDDMX] = &mx_rwmx0_lvl,
724-
[SM6125_VDDMX_AO] = &mx_rwmx0_lvl_ao,
725-
[SM6125_VDDMX_VFL] = &mx_rwmx0_vfl,
720+
[SM6125_VDDCX] = &cx_rwcx0_lvl,
721+
[SM6125_VDDCX_AO] = &cx_rwcx0_lvl_ao,
722+
[SM6125_VDDCX_VFL] = &cx_rwcx0_vfl,
723+
[SM6125_VDDMX] = &mx_rwmx0_lvl,
724+
[SM6125_VDDMX_AO] = &mx_rwmx0_lvl_ao,
725+
[SM6125_VDDMX_VFL] = &mx_rwmx0_vfl,
726726
};
727727

728728
static const struct rpmpd_desc sm6125_desc = {
@@ -732,16 +732,16 @@ static const struct rpmpd_desc sm6125_desc = {
732732
};
733733

734734
static struct rpmpd *sm6375_rpmpds[] = {
735-
[SM6375_VDDCX] = &cx_rwcx0_lvl,
736-
[SM6375_VDDCX_AO] = &cx_rwcx0_lvl_ao,
737-
[SM6375_VDDCX_VFL] = &cx_rwcx0_vfl,
738-
[SM6375_VDDMX] = &mx_rwmx0_lvl,
739-
[SM6375_VDDMX_AO] = &mx_rwmx0_lvl_ao,
740-
[SM6375_VDDMX_VFL] = &mx_rwmx0_vfl,
741-
[SM6375_VDDGX] = &gx_rwgx0_lvl,
742-
[SM6375_VDDGX_AO] = &gx_rwgx0_lvl_ao,
743-
[SM6375_VDD_LPI_CX] = &lpi_cx_rwlc0_lvl,
744-
[SM6375_VDD_LPI_MX] = &lpi_mx_rwlm0_lvl,
735+
[SM6375_VDDCX] = &cx_rwcx0_lvl,
736+
[SM6375_VDDCX_AO] = &cx_rwcx0_lvl_ao,
737+
[SM6375_VDDCX_VFL] = &cx_rwcx0_vfl,
738+
[SM6375_VDDMX] = &mx_rwmx0_lvl,
739+
[SM6375_VDDMX_AO] = &mx_rwmx0_lvl_ao,
740+
[SM6375_VDDMX_VFL] = &mx_rwmx0_vfl,
741+
[SM6375_VDDGX] = &gx_rwgx0_lvl,
742+
[SM6375_VDDGX_AO] = &gx_rwgx0_lvl_ao,
743+
[SM6375_VDD_LPI_CX] = &lpi_cx_rwlc0_lvl,
744+
[SM6375_VDD_LPI_MX] = &lpi_mx_rwlm0_lvl,
745745
};
746746

747747
static const struct rpmpd_desc sm6375_desc = {
@@ -751,14 +751,14 @@ static const struct rpmpd_desc sm6375_desc = {
751751
};
752752

753753
static struct rpmpd *qcm2290_rpmpds[] = {
754-
[QCM2290_VDDCX] = &cx_rwcx0_lvl,
755-
[QCM2290_VDDCX_AO] = &cx_rwcx0_lvl_ao,
756-
[QCM2290_VDDCX_VFL] = &cx_rwcx0_vfl,
757-
[QCM2290_VDDMX] = &mx_rwmx0_lvl,
758-
[QCM2290_VDDMX_AO] = &mx_rwmx0_lvl_ao,
759-
[QCM2290_VDDMX_VFL] = &mx_rwmx0_vfl,
760-
[QCM2290_VDD_LPI_CX] = &lpi_cx_rwlc0_lvl,
761-
[QCM2290_VDD_LPI_MX] = &lpi_mx_rwlm0_lvl,
754+
[QCM2290_VDDCX] = &cx_rwcx0_lvl,
755+
[QCM2290_VDDCX_AO] = &cx_rwcx0_lvl_ao,
756+
[QCM2290_VDDCX_VFL] = &cx_rwcx0_vfl,
757+
[QCM2290_VDDMX] = &mx_rwmx0_lvl,
758+
[QCM2290_VDDMX_AO] = &mx_rwmx0_lvl_ao,
759+
[QCM2290_VDDMX_VFL] = &mx_rwmx0_vfl,
760+
[QCM2290_VDD_LPI_CX] = &lpi_cx_rwlc0_lvl,
761+
[QCM2290_VDD_LPI_MX] = &lpi_mx_rwlm0_lvl,
762762
};
763763

764764
static const struct rpmpd_desc qcm2290_desc = {

0 commit comments

Comments
 (0)