Searched refs:cpufreq_dev (Results 1 – 2 of 2) sorted by relevance
25 static struct platform_device *cpufreq_dev; variable243 if (cpufreq_dev) { in scpi_clocks_remove()244 platform_device_unregister(cpufreq_dev); in scpi_clocks_remove()245 cpufreq_dev = NULL; in scpi_clocks_remove()275 cpufreq_dev = platform_device_register_simple("scpi-cpufreq", in scpi_clocks_probe()277 if (IS_ERR(cpufreq_dev)) in scpi_clocks_probe()
225 struct platform_device *cpufreq_dev; in imx8m_soc_probe() local299 cpufreq_dev = platform_device_register_simple("imx-cpufreq-dt", -1, NULL, 0); in imx8m_soc_probe()300 if (IS_ERR(cpufreq_dev)) in imx8m_soc_probe()301 return dev_err_probe(dev, PTR_ERR(cpufreq_dev), in imx8m_soc_probe()303 ret = devm_add_action(dev, imx8m_unregister_cpufreq, cpufreq_dev); in imx8m_soc_probe()