Searched refs:hsc_handle (Results 1 – 1 of 1) sorted by relevance
2536 static struct device_attribute *hsc_handle; variable2581 if (!hsc_handle) in sony_nc_highspeed_charging_setup()2584 sysfs_attr_init(&hsc_handle->attr); in sony_nc_highspeed_charging_setup()2586 hsc_handle->attr.mode = S_IRUGO | S_IWUSR; in sony_nc_highspeed_charging_setup()2590 result = device_create_file(&pd->dev, hsc_handle); in sony_nc_highspeed_charging_setup()2592 kfree(hsc_handle); in sony_nc_highspeed_charging_setup()2593 hsc_handle = NULL; in sony_nc_highspeed_charging_setup()2602 if (hsc_handle) { in sony_nc_highspeed_charging_cleanup()2603 device_remove_file(&pd->dev, hsc_handle); in sony_nc_highspeed_charging_cleanup()2604 kfree(hsc_handle); in sony_nc_highspeed_charging_cleanup()[all …]