lkml.org 
[lkml]   [2013]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] regulator: max8952: Add missing config.of_node setting for regulator register
From
Date
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/regulator/max8952.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/max8952.c b/drivers/regulator/max8952.c
index 4259c78..5259c2f 100644
--- a/drivers/regulator/max8952.c
+++ b/drivers/regulator/max8952.c
@@ -225,6 +225,7 @@ static int max8952_pmic_probe(struct i2c_client *client,
config.dev = max8952->dev;
config.init_data = pdata->reg_data;
config.driver_data = max8952;
+ config.of_node = client->dev.of_node;

config.ena_gpio = pdata->gpio_en;
if (pdata->reg_data->constraints.boot_on)
--
1.7.10.4




\
 
 \ /
  Last update: 2013-04-25 17:01    [W:0.042 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site