regulator: ad5398: Constify regulator_desc
Subsystems (2)
PATCH 1/6 regulator: ad5398: Constify regulator_desc
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/ad5398.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/ad5398.c +1 -1
@@ -184,7 +184,7 @@ static struct regulator_ops ad5398_ops = { .is_enabled = ad5398_is_enabled, }; -static struct regulator_desc ad5398_reg = { +static const struct regulator_desc ad5398_reg = { .name ="isink" , .id =0 , .ops = &ad5398_ops,
Signature · 1 line
1.7.5.4
PATCH 2/6 regulator: isl6271a: Constify regulator_desc
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/isl6271a-regulator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/isl6271a-regulator.c +1 -1
@@ -112,7 +112,7 @@ static struct regulator_ops isl_fixed_ops = { .list_voltage = isl6271a_list_fixed_voltage, }; -static struct regulator_desc isl_rd[] = { +static const struct regulator_desc isl_rd[] = { { .name ="Core Buck" , .id =0 ,
Signature · 1 line
1.7.5.4
PATCH 3/6 regulator: lp3971: Constify regulator_desc
In reply to Axel LinSigned-off-by Axel Lin <[email protected]>
--- drivers/regulator/lp3971.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/lp3971.c +1 -1
@@ -281,7 +281,7 @@ static struct regulator_ops lp3971_dcdc_ops = { .set_voltage_sel = lp3971_dcdc_set_voltage_sel, }; -static struct regulator_desc regulators[] = { +static const struct regulator_desc regulators[] = { { .name ="LDO1" , .id =LP3971_LDO1 ,
Signature · 1 line
1.7.5.4
PATCH 4/6 regulator: lp3972: Constify regulator_desc
In reply to Axel LinSigned-off-by Axel Lin <[email protected]>
--- drivers/regulator/lp3972.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/lp3972.c +1 -1
@@ -444,7 +444,7 @@ static struct regulator_ops lp3972_dcdc_ops = { .set_voltage_sel = lp3972_dcdc_set_voltage_sel, }; -static struct regulator_desc regulators[] = { +static const struct regulator_desc regulators[] = { { .name ="LDO1" , .id =LP3972_LDO1 ,
Signature · 1 line
1.7.5.4
PATCH 5/6 regulator: pcap: Constify regulator_desc
In reply to Axel LinSigned-off-by Axel Lin <[email protected]>
--- drivers/regulator/pcap-regulator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/pcap-regulator.c +1 -1
@@ -241,7 +241,7 @@ static struct regulator_ops pcap_regulator_ops = { .owner = THIS_MODULE, \ } -static struct regulator_desc pcap_regulators[] = { +static const struct regulator_desc pcap_regulators[] = {VREG (V1 ),VREG (V2 ),VREG (V3 ),VREG (V4 ),VREG (V5 ),VREG (V6 ),VREG (V7 ),VREG (V8 ),VREG (V9 ),VREG (V10 ),VREG (VAUX1 ),VREG (VAUX2 ),VREG (VAUX3 ),VREG (VAUX4 ),VREG (VSIM ),VREG (VSIM2 ),VREG (VVIB ),VREG (SW1 ),VREG (SW2 ),
Signature · 1 line
1.7.5.4
PATCH 6/6 regulator: pcf50633: Constify regulator_desc
In reply to Axel LinSigned-off-by Axel Lin <[email protected]>
--- drivers/regulator/pcf50633-regulator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/pcf50633-regulator.c +1 -1
@@ -267,7 +267,7 @@ static struct regulator_ops pcf50633_regulator_ops = { .is_enabled = pcf50633_regulator_is_enabled, }; -static struct regulator_desc regulators[] = { +static const struct regulator_desc regulators[] = { [PCF50633_REGULATOR_AUTO ] =PCF50633_REGULATOR ("auto" ,PCF50633_REGULATOR_AUTO ,128 ), [PCF50633_REGULATOR_DOWN1] =
Signature · 1 line
1.7.5.4
Acked-by Sonic Zhang <[email protected]>
-----Original Message-----
From: Axel Lin [mailto:[email protected]]
Sent: Thursday, April 05, 2012 11:57 AM
To: [email protected]
Cc: Zhang, Sonic; Liam Girdwood; Mark Brown
Subject: [PATCH 1/6] regulator: ad5398: Constify regulator_desc
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/ad5398.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/ad5398.c +1 -1
@@ -184,7 +184,7 @@ static struct regulator_ops ad5398_ops = { .is_enabled = ad5398_is_enabled, }; -static struct regulator_desc ad5398_reg = { +static const struct regulator_desc ad5398_reg = { .name ="isink" , .id =0 , .ops = &ad5398_ops,
--
1.7.5.4
���{.n�+�������+%�����ݶ��w��{.n�+����{��G�����{ay�ʇڙ�,j��f���h��������z_�(�階�ݢj"���m������G������?����&���~��iO��z��v�^�m����������?�I�
Mark Brown
AppliedQuoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Applied all, thanks.