Home
last modified time | relevance | path

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

/linux/drivers/mfd/
H A D88pm860x-core.c330 static struct mfd_cell power_devs[] = { variable
916 power_devs[0].platform_data = pdata->power; in device_power_init()
917 power_devs[0].pdata_size = sizeof(struct pm860x_power_pdata); in device_power_init()
918 power_devs[0].num_resources = ARRAY_SIZE(battery_resources); in device_power_init()
919 power_devs[0].resources = &battery_resources[0]; in device_power_init()
920 ret = mfd_add_devices(chip->dev, 0, &power_devs[0], 1, in device_power_init()
925 power_devs[1].platform_data = pdata->power; in device_power_init()
926 power_devs[1].pdata_size = sizeof(struct pm860x_power_pdata); in device_power_init()
927 power_devs[1].num_resources = ARRAY_SIZE(charger_resources); in device_power_init()
928 power_devs[1].resources = &charger_resources[0]; in device_power_init()
[all …]
H A Dmax8925-core.c62 static const struct mfd_cell power_devs[] = { variable
878 ret = mfd_add_devices(chip->dev, 0, &power_devs[0], in max8925_device_init()
879 ARRAY_SIZE(power_devs), in max8925_device_init()