Commit 87e5890
amd_hsmp: Conditionally call device_add_groups or devm_device_add_groups
In linux 6.10.rc3, devm_device_add_groups is removed and device_add_groups
should be used in that place.
Add a check to call one of them based on the linux version.1 parent f7feffe commit 87e5890
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
728 | 730 | | |
729 | 731 | | |
730 | 732 | | |
731 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
732 | 736 | | |
| 737 | + | |
| 738 | + | |
733 | 739 | | |
734 | 740 | | |
735 | 741 | | |
| |||
0 commit comments