Searched refs:device_attrs (Results 1 – 3 of 3) sorted by relevance
492 static struct device_attribute device_attrs[] = { variable518 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in fb_init_device()519 error = device_create_file(fb_info->dev, &device_attrs[i]); in fb_init_device()527 device_remove_file(fb_info->dev, &device_attrs[i]); in fb_init_device()539 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in fb_cleanup_device()540 device_remove_file(fb_info->dev, &device_attrs[i]); in fb_cleanup_device()
3536 static struct device_attribute device_attrs[] = { variable3549 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { in fbcon_init_device()3550 error = device_create_file(fbcon_device, &device_attrs[i]); in fbcon_init_device()3558 device_remove_file(fbcon_device, &device_attrs[i]); in fbcon_init_device()3711 for (i = 0; i < ARRAY_SIZE(device_attrs); i++) in fbcon_deinit_device()3712 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()