Commit 13f3cbf
thermal: int3400: Remove unneeded data_vault attribute_group
The group only contains a single entry and the conditionals around its
lifecycle make clear that this won't change.
Remove the unnecessary group.
This saves some memory and it's easier to read.
The removal of a non-const bin_attribute[] instance is also a
preparation for the constification of struct bin_attributes.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20241121-sysfs-const-bin_attr-int340x_thermal-v1-1-2436facf9dae@weissschuh.net
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent 7082503 commit 13f3cbf
1 file changed
+3
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 78 | | |
84 | 79 | | |
85 | 80 | | |
| |||
108 | 103 | | |
109 | 104 | | |
110 | 105 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 106 | | |
116 | 107 | | |
117 | 108 | | |
| |||
624 | 615 | | |
625 | 616 | | |
626 | 617 | | |
627 | | - | |
628 | | - | |
| 618 | + | |
629 | 619 | | |
630 | 620 | | |
631 | 621 | | |
| |||
648 | 638 | | |
649 | 639 | | |
650 | 640 | | |
651 | | - | |
| 641 | + | |
652 | 642 | | |
653 | 643 | | |
654 | 644 | | |
| |||
683 | 673 | | |
684 | 674 | | |
685 | 675 | | |
686 | | - | |
| 676 | + | |
687 | 677 | | |
688 | 678 | | |
689 | 679 | | |
| |||
0 commit comments