Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/
H A 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()
949 if (IS_ERR(ipml->bd)) { in cmpc_ipml_add()
961 if (ipml->rf) { in cmpc_ipml_add()
965 ipml->rf = NULL; in cmpc_ipml_add()
973 kfree(ipml); in cmpc_ipml_add()
979 struct ipml200_dev *ipml; in cmpc_ipml_remove() local
985 if (ipml->rf) { in cmpc_ipml_remove()
987 rfkill_destroy(ipml->rf); in cmpc_ipml_remove()
[all …]