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

/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c42 struct device_attribute attr_unit_number; member in struct:pvr2_sysfs
551 &sfp->attr_unit_number); class_dev_destroy()
693 sysfs_attr_init(&sfp->attr_unit_number.attr); class_dev_create()
694 sfp->attr_unit_number.attr.name = "unit_number"; class_dev_create()
695 sfp->attr_unit_number.attr.mode = S_IRUGO; class_dev_create()
696 sfp->attr_unit_number.show = unit_number_show; class_dev_create()
697 sfp->attr_unit_number.store = NULL; class_dev_create()
698 ret = device_create_file(sfp->class_dev,&sfp->attr_unit_number); class_dev_create()

Completed in 82 milliseconds