public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: mt6323: Fix module description
@ 2016-07-19  8:25 Axel Lin
  2016-07-19  8:26 ` [PATCH 2/2] regulator: mt6323: Constify struct regulator_ops Axel Lin
  2016-07-19 10:04 ` [PATCH 1/2] regulator: mt6323: Fix module description Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2016-07-19  8:25 UTC (permalink / raw)
  To: Mark Brown; +Cc: Chen Zhong, John Crispin, Liam Girdwood, linux-kernel

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/mt6323-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/mt6323-regulator.c b/drivers/regulator/mt6323-regulator.c
index 927cc23..f7831f3 100644
--- a/drivers/regulator/mt6323-regulator.c
+++ b/drivers/regulator/mt6323-regulator.c
@@ -421,5 +421,5 @@ static struct platform_driver mt6323_regulator_driver = {
 module_platform_driver(mt6323_regulator_driver);
 
 MODULE_AUTHOR("Chen Zhong <chen.zhong@mediatek.com>");
-MODULE_DESCRIPTION("Regulator Driver for MediaTek MT6397 PMIC");
+MODULE_DESCRIPTION("Regulator Driver for MediaTek MT6323 PMIC");
 MODULE_LICENSE("GPL v2");
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] regulator: mt6323: Constify struct regulator_ops
  2016-07-19  8:25 [PATCH 1/2] regulator: mt6323: Fix module description Axel Lin
@ 2016-07-19  8:26 ` Axel Lin
  2016-07-19 10:04 ` [PATCH 1/2] regulator: mt6323: Fix module description Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Axel Lin @ 2016-07-19  8:26 UTC (permalink / raw)
  To: Mark Brown; +Cc: Chen Zhong, John Crispin, Liam Girdwood, linux-kernel

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/mt6323-regulator.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/regulator/mt6323-regulator.c b/drivers/regulator/mt6323-regulator.c
index f7831f3..b7b9670 100644
--- a/drivers/regulator/mt6323-regulator.c
+++ b/drivers/regulator/mt6323-regulator.c
@@ -231,7 +231,7 @@ static unsigned int mt6323_ldo_get_mode(struct regulator_dev *rdev)
 	return mode;
 }
 
-static struct regulator_ops mt6323_volt_range_ops = {
+static const struct regulator_ops mt6323_volt_range_ops = {
 	.list_voltage = regulator_list_voltage_linear_range,
 	.map_voltage = regulator_map_voltage_linear_range,
 	.set_voltage_sel = regulator_set_voltage_sel_regmap,
@@ -243,7 +243,7 @@ static struct regulator_ops mt6323_volt_range_ops = {
 	.get_status = mt6323_get_status,
 };
 
-static struct regulator_ops mt6323_volt_table_ops = {
+static const struct regulator_ops mt6323_volt_table_ops = {
 	.list_voltage = regulator_list_voltage_table,
 	.map_voltage = regulator_map_voltage_iterate,
 	.set_voltage_sel = regulator_set_voltage_sel_regmap,
@@ -257,7 +257,7 @@ static struct regulator_ops mt6323_volt_table_ops = {
 	.get_mode = mt6323_ldo_get_mode,
 };
 
-static struct regulator_ops mt6323_volt_fixed_ops = {
+static const struct regulator_ops mt6323_volt_fixed_ops = {
 	.list_voltage = regulator_list_voltage_linear,
 	.enable = regulator_enable_regmap,
 	.disable = regulator_disable_regmap,
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] regulator: mt6323: Fix module description
  2016-07-19  8:25 [PATCH 1/2] regulator: mt6323: Fix module description Axel Lin
  2016-07-19  8:26 ` [PATCH 2/2] regulator: mt6323: Constify struct regulator_ops Axel Lin
@ 2016-07-19 10:04 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2016-07-19 10:04 UTC (permalink / raw)
  To: Axel Lin; +Cc: Chen Zhong, John Crispin, Liam Girdwood, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

On Tue, Jul 19, 2016 at 04:25:09PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

These don't seem to apply against current code, please check and resend.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-19 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-19  8:25 [PATCH 1/2] regulator: mt6323: Fix module description Axel Lin
2016-07-19  8:26 ` [PATCH 2/2] regulator: mt6323: Constify struct regulator_ops Axel Lin
2016-07-19 10:04 ` [PATCH 1/2] regulator: mt6323: Fix module description Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox