Searched refs:ipml (Results 1 – 1 of 1) sorted by relevance
936 struct ipml200_dev *ipml; in cmpc_ipml_add() local939 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 …]