Searched refs:uc_handle (Results 1 – 1 of 1) sorted by relevance
2783 static struct device_attribute *uc_handle; variable2828 if (!uc_handle) in sony_nc_usb_charge_setup()2831 sysfs_attr_init(&uc_handle->attr); in sony_nc_usb_charge_setup()2832 uc_handle->attr.name = "usb_charge"; in sony_nc_usb_charge_setup()2833 uc_handle->attr.mode = S_IRUGO | S_IWUSR; in sony_nc_usb_charge_setup()2839 kfree(uc_handle); in sony_nc_usb_charge_setup()2840 uc_handle = NULL; in sony_nc_usb_charge_setup()2849 if (uc_handle) { in sony_nc_usb_charge_cleanup()2850 device_remove_file(&pd->dev, uc_handle); in sony_nc_usb_charge_cleanup()2851 kfree(uc_handle); in sony_nc_usb_charge_cleanup()[all …]