Repository navigation
Commit 35be068
committed
Kobject: change drivers/infiniband to use kobject_init_and_add
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Sean Hefty <mshefty@ichips.intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>1 parent 901195e commit 35be068
2 files changed
Lines changed: 10 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
512 | 511 | | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
524 | 515 | | |
525 | 516 | | |
526 | 517 | | |
| |||
549 | 540 | | |
550 | 541 | | |
551 | 542 | | |
| 543 | + | |
552 | 544 | | |
553 | 545 | | |
554 | 546 | | |
| |||
570 | 562 | | |
571 | 563 | | |
572 | 564 | | |
573 | | - | |
574 | | - | |
575 | | - | |
| 565 | + | |
576 | 566 | | |
577 | 567 | | |
578 | 568 | | |
| |||
694 | 684 | | |
695 | 685 | | |
696 | 686 | | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
707 | 690 | | |
708 | 691 | | |
709 | 692 | | |
| |||
758 | 741 | | |
759 | 742 | | |
760 | 743 | | |
761 | | - | |
| 744 | + | |
762 | 745 | | |
763 | 746 | | |
764 | 747 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | | - | |
| 1029 | + | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
| |||
0 commit comments