weight_attr 752 drivers/thermal/thermal_core.c sysfs_attr_init(&dev->weight_attr.attr); weight_attr 753 drivers/thermal/thermal_core.c dev->weight_attr.attr.name = dev->weight_attr_name; weight_attr 754 drivers/thermal/thermal_core.c dev->weight_attr.attr.mode = S_IWUSR | S_IRUGO; weight_attr 755 drivers/thermal/thermal_core.c dev->weight_attr.show = weight_show; weight_attr 756 drivers/thermal/thermal_core.c dev->weight_attr.store = weight_store; weight_attr 757 drivers/thermal/thermal_core.c result = device_create_file(&tz->device, &dev->weight_attr); weight_attr 779 drivers/thermal/thermal_core.c device_remove_file(&tz->device, &dev->weight_attr); weight_attr 829 drivers/thermal/thermal_core.c device_remove_file(&tz->device, &pos->weight_attr); weight_attr 51 drivers/thermal/thermal_core.h struct device_attribute weight_attr; weight_attr 985 drivers/thermal/thermal_sysfs.c instance = container_of(attr, struct thermal_instance, weight_attr); weight_attr 1000 drivers/thermal/thermal_sysfs.c instance = container_of(attr, struct thermal_instance, weight_attr);