Searched refs:hp_wmi_platform_dev (Results 1 – 1 of 1) sorted by relevance
146 static struct platform_device *hp_wmi_platform_dev; variable891 hp_wmi_platform_dev = platform_device_alloc("hp-wmi", -1); in hp_wmi_init()892 if (!hp_wmi_platform_dev) { in hp_wmi_init()896 err = platform_device_add(hp_wmi_platform_dev); in hp_wmi_init()907 platform_device_put(hp_wmi_platform_dev); in hp_wmi_init()922 if (hp_wmi_platform_dev) { in hp_wmi_exit()923 platform_device_unregister(hp_wmi_platform_dev); in hp_wmi_exit()