public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] regulator: Set list_voltage callback for 88pm8607
@ 2012-03-28  6:58 Axel Lin
  2012-03-28  6:59 ` [PATCH 2/4] regulator: Add missing n_voltages setting " Axel Lin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Axel Lin @ 2012-03-28  6:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Haojian Zhuang, Liam Girdwood, Mark Brown, Jett.Zhou

Current code implements pm8607_list_voltage but does not set the list_voltage
callback function in pm8607_regulator_ops. Fix it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/regulator/88pm8607.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c
index 28b81ae..981b47a 100644
--- a/drivers/regulator/88pm8607.c
+++ b/drivers/regulator/88pm8607.c
@@ -328,6 +328,7 @@ static int pm8607_is_enabled(struct regulator_dev *rdev)
 }
 
 static struct regulator_ops pm8607_regulator_ops = {
+	.list_voltage	= pm8607_list_voltage,
 	.set_voltage	= pm8607_set_voltage,
 	.get_voltage	= pm8607_get_voltage,
 	.enable		= pm8607_enable,
-- 
1.7.5.4




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

end of thread, other threads:[~2012-03-29 11:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28  6:58 [PATCH 1/4] regulator: Set list_voltage callback for 88pm8607 Axel Lin
2012-03-28  6:59 ` [PATCH 2/4] regulator: Add missing n_voltages setting " Axel Lin
2012-03-28  7:00 ` [PATCH 3/4] regulator: Convert 88pm8607 to set_voltage_sel Axel Lin
2012-03-28  7:01 ` [PATCH 4/4] regulator: Convert 88pm8607 to get_voltage_sel Axel Lin
2012-03-29  2:39 ` [PATCH 1/4] regulator: Set list_voltage callback for 88pm8607 Jett Zhou
2012-03-29 11:25 ` Mark Brown

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