Searched refs:device_attrs (Results 1 – 3 of 3) sorted by relevance
500 static struct device_attribute device_attrs[] = { variable526 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in fb_init_device()527 error = device_create_file(fb_info->dev, &device_attrs[i]); in fb_init_device()535 device_remove_file(fb_info->dev, &device_attrs[i]); in fb_init_device()547 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in fb_cleanup_device()548 device_remove_file(fb_info->dev, &device_attrs[i]); in fb_cleanup_device()
3284 static struct device_attribute device_attrs[] = { variable3297 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in fbcon_init_device()3298 error = device_create_file(fbcon_device, &device_attrs[i]); in fbcon_init_device()3306 device_remove_file(fbcon_device, &device_attrs[i]); in fbcon_init_device()3456 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in fbcon_deinit_device()3457 device_remove_file(fbcon_device, &device_attrs[i]); in fbcon_deinit_device()
739 static struct device_attribute device_attrs[] = { variable1437 if (device_create_file(info->dev, &device_attrs[0])) in sstfb_probe()1469 device_remove_file(info->dev, &device_attrs[0]); in sstfb_remove()