return NULL;
}
- struct sysfs_class_device *iter;
- struct sysfs_attribute *attr;
+ struct sysfs_class_device *iter=NULL;
+ struct sysfs_attribute *attr=NULL;
dlist_for_each_data(backlights, iter, struct sysfs_class_device)
{
{
struct sysfs_class_device *dev;
- enum OP op;
- double value;
+ enum OP op=INC;
+ double value=0;
dev = find_brightness_device();
if(!dev)