Home
last modified time | relevance | path

Searched refs:tps65090_pdata (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/regulator/
Dtps65090-regulator.c323 struct tps65090_platform_data *tps65090_pdata; in tps65090_parse_dt_reg_data() local
329 tps65090_pdata = devm_kzalloc(&pdev->dev, sizeof(*tps65090_pdata), in tps65090_parse_dt_reg_data()
331 if (!tps65090_pdata) in tps65090_parse_dt_reg_data()
395 tps65090_pdata->reg_pdata[idx] = rpdata; in tps65090_parse_dt_reg_data()
397 return tps65090_pdata; in tps65090_parse_dt_reg_data()
417 struct tps65090_platform_data *tps65090_pdata; in tps65090_regulator_probe() local
424 tps65090_pdata = dev_get_platdata(pdev->dev.parent); in tps65090_regulator_probe()
425 if (!tps65090_pdata && tps65090_mfd->dev->of_node) in tps65090_regulator_probe()
426 tps65090_pdata = tps65090_parse_dt_reg_data(pdev, in tps65090_regulator_probe()
428 if (IS_ERR_OR_NULL(tps65090_pdata)) { in tps65090_regulator_probe()
[all …]