Commit b4a9af9
HID: playstation: convert to use dev_groups
There is no need for a driver to individually add/create device groups,
the driver core will do it automatically for you. Convert the
hid-playstation driver to use the dev_groups pointer instead of manually
calling the driver core to create the group and have it be cleaned up
later on by the devm core.
Cc: Roderick Colenbrander <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Benjamin Tissoires <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Roderick Colenbrander <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>1 parent 8d9420c commit b4a9af9
1 file changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
| 695 | + | |
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
| 700 | + | |
704 | 701 | | |
705 | 702 | | |
706 | 703 | | |
| |||
1448 | 1445 | | |
1449 | 1446 | | |
1450 | 1447 | | |
1451 | | - | |
1452 | | - | |
1453 | | - | |
1454 | | - | |
1455 | | - | |
1456 | | - | |
1457 | 1448 | | |
1458 | 1449 | | |
1459 | 1450 | | |
| |||
1487 | 1478 | | |
1488 | 1479 | | |
1489 | 1480 | | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
1490 | 1484 | | |
1491 | 1485 | | |
1492 | 1486 | | |
| |||
0 commit comments