Searched refs:new_device (Results 1 – 5 of 5) sorted by relevance
3416 struct device *new_device; in cnss_do_host_ramdump() local3542 new_device = kcalloc(1, sizeof(*new_device), GFP_KERNEL); in cnss_do_host_ramdump()3543 if (!new_device) { in cnss_do_host_ramdump()3548 new_device->release = cnss_host_ramdump_dev_release; in cnss_do_host_ramdump()3549 device_initialize(new_device); in cnss_do_host_ramdump()3550 dev_set_name(new_device, "wlan_driver"); in cnss_do_host_ramdump()3551 dev_ret = device_add(new_device); in cnss_do_host_ramdump()3605 ret = qcom_elf_dump(&head, new_device, ELF_CLASS); in cnss_do_host_ramdump()3613 device_del(new_device); in cnss_do_host_ramdump()3615 put_device(new_device); in cnss_do_host_ramdump()