Commit cf85e7c
platform/x86: intel_pmc_ipc: Switch to use driver->dev_groups
The driver core provides support for adding additional attributes for
devices via new ->dev_groups member of struct device_driver. Convert the
driver to use that instead of adding the attributes manually.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>1 parent fc07ac6 commit cf85e7c
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
542 | 547 | | |
543 | 548 | | |
544 | 549 | | |
| |||
879 | 884 | | |
880 | 885 | | |
881 | 886 | | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | 887 | | |
890 | 888 | | |
891 | 889 | | |
892 | | - | |
893 | | - | |
| 890 | + | |
894 | 891 | | |
895 | 892 | | |
896 | 893 | | |
| |||
901 | 898 | | |
902 | 899 | | |
903 | 900 | | |
904 | | - | |
905 | 901 | | |
906 | 902 | | |
907 | 903 | | |
| |||
916 | 912 | | |
917 | 913 | | |
918 | 914 | | |
| 915 | + | |
919 | 916 | | |
920 | 917 | | |
921 | 918 | | |
| |||
0 commit comments