Searched refs:cooling_devs (Results 1 – 1 of 1) sorted by relevance
85 struct qmp_cooling_device *cooling_devs; member484 qmp->cooling_devs = devm_kcalloc(qmp->dev, count, in qmp_cooling_devices_register()485 sizeof(*qmp->cooling_devs), in qmp_cooling_devices_register()488 if (!qmp->cooling_devs) in qmp_cooling_devices_register()494 ret = qmp_cooling_device_add(qmp, &qmp->cooling_devs[count++], in qmp_cooling_devices_register()505 (qmp->cooling_devs[count].cdev); in qmp_cooling_devices_register()515 thermal_cooling_device_unregister(qmp->cooling_devs[i].cdev); in qmp_cooling_devices_remove()