]> asedeno.scripts.mit.edu Git - linux.git/commit
irqdesc: Replace irq_kobj_type's default_attrs field with groups
authorKimberly Brown <kimbrownkd@gmail.com>
Tue, 2 Apr 2019 02:51:41 +0000 (22:51 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 20:06:11 +0000 (22:06 +0200)
commit52ba92f5882adf1ee785c4c5ef23491948917fcd
tree4fb51e3ec5c553f0a6798029d454541fa61ac18b
parentbe0d692657028854ff581b31191131b94f18637d
irqdesc: Replace irq_kobj_type's default_attrs field with groups

The kobj_type default_attrs field is being replaced by the
default_groups field. Replace irq_kobj_type's default_attrs field with
default_groups and use the ATTRIBUTE_GROUPS macro to create irq_groups.

This patch was tested by verifying that the sysfs files for the
attributes in the default groups were created.

Signed-off-by: Kimberly Brown <kimbrownkd@gmail.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/irq/irqdesc.c