Searched refs:hsc_handle (Results 1 – 1 of 1) sorted by relevance
2547 static struct device_attribute *hsc_handle; variable2591 hsc_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_highspeed_charging_setup()2592 if (!hsc_handle) in sony_nc_highspeed_charging_setup()2595 sysfs_attr_init(&hsc_handle->attr); in sony_nc_highspeed_charging_setup()2596 hsc_handle->attr.name = "battery_highspeed_charging"; in sony_nc_highspeed_charging_setup()2597 hsc_handle->attr.mode = S_IRUGO | S_IWUSR; in sony_nc_highspeed_charging_setup()2598 hsc_handle->show = sony_nc_highspeed_charging_show; in sony_nc_highspeed_charging_setup()2599 hsc_handle->store = sony_nc_highspeed_charging_store; in sony_nc_highspeed_charging_setup()2601 result = device_create_file(&pd->dev, hsc_handle); in sony_nc_highspeed_charging_setup()2603 kfree(hsc_handle); in sony_nc_highspeed_charging_setup()[all …]