Searched refs:lowbatt_handle (Results 1 – 1 of 1) sorted by relevance
2610 static struct device_attribute *lowbatt_handle; variable2647 if (!lowbatt_handle) in sony_nc_lowbatt_setup()2650 sysfs_attr_init(&lowbatt_handle->attr); in sony_nc_lowbatt_setup()2652 lowbatt_handle->attr.mode = S_IRUGO | S_IWUSR; in sony_nc_lowbatt_setup()2653 lowbatt_handle->show = sony_nc_lowbatt_show; in sony_nc_lowbatt_setup()2654 lowbatt_handle->store = sony_nc_lowbatt_store; in sony_nc_lowbatt_setup()2658 kfree(lowbatt_handle); in sony_nc_lowbatt_setup()2659 lowbatt_handle = NULL; in sony_nc_lowbatt_setup()2668 if (lowbatt_handle) { in sony_nc_lowbatt_cleanup()2670 kfree(lowbatt_handle); in sony_nc_lowbatt_cleanup()[all …]