Commit 295b89a
committed
Input: yealink - use driver core to instantiate device attributes
Instead of manually creating driver-specific device attributes
set struct usb_driver->dev_groups pointer to have the driver core
do it.
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>1 parent b20d6bf commit 295b89a
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
| 774 | + | |
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
| 785 | + | |
789 | 786 | | |
790 | 787 | | |
791 | 788 | | |
| |||
842 | 839 | | |
843 | 840 | | |
844 | 841 | | |
845 | | - | |
846 | 842 | | |
847 | 843 | | |
848 | 844 | | |
| |||
975 | 971 | | |
976 | 972 | | |
977 | 973 | | |
978 | | - | |
979 | | - | |
980 | 974 | | |
981 | 975 | | |
982 | 976 | | |
| |||
985 | 979 | | |
986 | 980 | | |
987 | 981 | | |
| 982 | + | |
988 | 983 | | |
989 | 984 | | |
990 | 985 | | |
| |||
0 commit comments