Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/platform/x86/
Dclassmate-laptop.c936 struct ipml200_dev *ipml; in cmpc_ipml_add() local
939 ipml = kmalloc(sizeof(*ipml), GFP_KERNEL); in cmpc_ipml_add()
940 if (ipml == NULL) in cmpc_ipml_add()
946 ipml->bd = backlight_device_register("cmpc_bl", &acpi->dev, in cmpc_ipml_add()
949 if (IS_ERR(ipml->bd)) { in cmpc_ipml_add()
950 retval = PTR_ERR(ipml->bd); in cmpc_ipml_add()
954 ipml->rf = rfkill_alloc("cmpc_rfkill", &acpi->dev, RFKILL_TYPE_WLAN, in cmpc_ipml_add()
961 if (ipml->rf) { in cmpc_ipml_add()
962 retval = rfkill_register(ipml->rf); in cmpc_ipml_add()
964 rfkill_destroy(ipml->rf); in cmpc_ipml_add()
[all …]