mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-13 16:40:22 +00:00
regulator: max8952: Add missing config.of_node setting for regulator register
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
3ff4aa95b3
commit
71622e15dd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user