Searched refs:pdata_of (Results 1 – 2 of 2) sorted by relevance
212 struct max1586_platform_data *pdata, pdata_of; in max1586_pmic_probe() local226 ret = of_get_max1586_platform_data(&client->dev, &pdata_of); in max1586_pmic_probe()229 pdata = &pdata_of; in max1586_pmic_probe()
374 struct max8660_platform_data pdata_of, *pdata = dev_get_platdata(dev); in max8660_probe() local388 ret = max8660_pdata_from_dt(dev, of_node, &pdata_of); in max8660_probe()392 pdata = &pdata_of; in max8660_probe()