* [PATCH] regulator MAX8998/LP3974 Bugfix: incorrect variable name (typo)
@ 2010-12-23 8:43 MyungJoo Ham
2010-12-23 11:51 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: MyungJoo Ham @ 2010-12-23 8:43 UTC (permalink / raw)
To: linux-kernel; +Cc: Liam Girdwood, Mark Brown, kyungmin.park, myungjoo.ham
trivial error. (buck1_idx->buck2_idx in the context of buck2 control)
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
drivers/regulator/max8998.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c
index 5c20756..6413e80 100644
--- a/drivers/regulator/max8998.c
+++ b/drivers/regulator/max8998.c
@@ -448,10 +448,10 @@ buck1_exit:
, i, max8998->buck2_vol[0], max8998->buck2_vol[1]);
if (gpio_is_valid(pdata->buck2_set3)) {
if (max8998->buck2_vol[0] == i) {
- max8998->buck1_idx = 0;
+ max8998->buck2_idx = 0;
buck2_gpio_set(pdata->buck2_set3, 0);
} else {
- max8998->buck1_idx = 1;
+ max8998->buck2_idx = 1;
ret = max8998_get_voltage_register(rdev, ®,
&shift,
&mask);
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator MAX8998/LP3974 Bugfix: incorrect variable name (typo)
2010-12-23 8:43 [PATCH] regulator MAX8998/LP3974 Bugfix: incorrect variable name (typo) MyungJoo Ham
@ 2010-12-23 11:51 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2010-12-23 11:51 UTC (permalink / raw)
To: MyungJoo Ham; +Cc: linux-kernel, Liam Girdwood, kyungmin.park, myungjoo.ham
On Thu, Dec 23, 2010 at 05:43:59PM +0900, MyungJoo Ham wrote:
> trivial error. (buck1_idx->buck2_idx in the context of buck2 control)
>
> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-23 11:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-23 8:43 [PATCH] regulator MAX8998/LP3974 Bugfix: incorrect variable name (typo) MyungJoo Ham
2010-12-23 11:51 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox