* [PATCH 6/6] regulator: max77686: Initialise rmatch.of_node to NULL.
@ 2012-07-06 9:20 Yadwinder Singh Brar
2012-07-06 18:17 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Yadwinder Singh Brar @ 2012-07-06 9:20 UTC (permalink / raw)
To: linux-kernel
Cc: sameo, Mark Brown, Liam Girdwood, Jonghwa Lee, Myungjoo Ham,
Kyungmin Park, Chiwoong Byun, Yadwinder Singh Brar
Now of_regulator_match() returns without finding the match if match->of_node
is not NULL.
Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
---
drivers/regulator/max77686.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/regulator/max77686.c b/drivers/regulator/max77686.c
index fc695eb..c564af6 100644
--- a/drivers/regulator/max77686.c
+++ b/drivers/regulator/max77686.c
@@ -262,6 +262,7 @@ static int max77686_pmic_dt_parse_pdata(struct max77686_dev *iodev,
for (i = 0; i < pdata->num_regulators; i++) {
rmatch.name = regulators[i].name;
rmatch.init_data = NULL;
+ rmatch.of_node = NULL;
of_regulator_match(iodev->dev, regulators_np, &rmatch, 1);
rdata[i].initdata = rmatch.init_data;
}
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 6/6] regulator: max77686: Initialise rmatch.of_node to NULL.
2012-07-06 9:20 [PATCH 6/6] regulator: max77686: Initialise rmatch.of_node to NULL Yadwinder Singh Brar
@ 2012-07-06 18:17 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-07-06 18:17 UTC (permalink / raw)
To: Yadwinder Singh Brar
Cc: linux-kernel, sameo, Liam Girdwood, Jonghwa Lee, Myungjoo Ham,
Kyungmin Park, Chiwoong Byun, Yadwinder Singh Brar
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
On Fri, Jul 06, 2012 at 02:50:08PM +0530, Yadwinder Singh Brar wrote:
> Now of_regulator_match() returns without finding the match if match->of_node
> is not NULL.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-06 18:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-06 9:20 [PATCH 6/6] regulator: max77686: Initialise rmatch.of_node to NULL Yadwinder Singh Brar
2012-07-06 18:17 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.