mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
driver core: remove class_attrs from struct class
This field is no longer used or needed (use class_groups instead), so it can be removed along with the driver core functionality that created and removed these files. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
dc307f921f
commit
ecbaa83ee8
2 changed files with 0 additions and 35 deletions
|
@ -365,7 +365,6 @@ int subsys_virtual_register(struct bus_type *subsys,
|
|||
* struct class - device classes
|
||||
* @name: Name of the class.
|
||||
* @owner: The module owner.
|
||||
* @class_attrs: Default attributes of this class.
|
||||
* @class_groups: Default attributes of this class.
|
||||
* @dev_groups: Default attributes of the devices that belong to the class.
|
||||
* @dev_kobj: The kobject that represents this class and links it into the hierarchy.
|
||||
|
@ -394,7 +393,6 @@ struct class {
|
|||
const char *name;
|
||||
struct module *owner;
|
||||
|
||||
struct class_attribute *class_attrs;
|
||||
const struct attribute_group **class_groups;
|
||||
const struct attribute_group **dev_groups;
|
||||
struct kobject *dev_kobj;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue