Home
last modified time | relevance | path

Searched refs:attr_unit_number (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c28 struct device_attribute attr_unit_number; member
536 &sfp->attr_unit_number); in class_dev_destroy()
678 sysfs_attr_init(&sfp->attr_unit_number.attr); in class_dev_create()
679 sfp->attr_unit_number.attr.name = "unit_number"; in class_dev_create()
680 sfp->attr_unit_number.attr.mode = S_IRUGO; in class_dev_create()
681 sfp->attr_unit_number.show = unit_number_show; in class_dev_create()
682 sfp->attr_unit_number.store = NULL; in class_dev_create()
683 ret = device_create_file(sfp->class_dev,&sfp->attr_unit_number); in class_dev_create()