Commit 88b2670
committed
ACPI: TAD: Use __ATTRIBUTE_GROUPS() macro
Recent commit 93afe8b ("ACPI: TAD: Use dev_groups in struct
device_driver") switched over the ACPI TAD driver to using device
attribute groups instead of creating and removing the device sysfs
attributes directly, but it might go one step farther and use the
__ATTRIBUTE_GROUPS() macro which would reduce the code size slightly.
Do it now.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
[ rjw: Fixed typo in the changelog ]
Link: https://patch.msgid.link/1961102.tdWV9SEqCh@rafael.j.wysocki
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent 254f496 commit 88b2670
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
608 | | - | |
| 608 | + | |
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
| 613 | + | |
617 | 614 | | |
618 | 615 | | |
619 | 616 | | |
| |||
885 | 882 | | |
886 | 883 | | |
887 | 884 | | |
888 | | - | |
| 885 | + | |
889 | 886 | | |
890 | 887 | | |
891 | 888 | | |
| |||
0 commit comments