netdevsim: move device registration on bus to be done earlier in init
authorJiri Pirko <jiri@mellanox.com>
Thu, 25 Apr 2019 13:59:41 +0000 (15:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Apr 2019 05:52:02 +0000 (01:52 -0400)
commit1daf36c0dbc059cdef1a1c11e83599c972832d1d
tree28ff698168899d10660a8bcf96f114fa7640d7e0
parent89eb6e096782b749eadead3824b3a65255c7d0e3
netdevsim: move device registration on bus to be done earlier in init

As a dependency of the subsequent patch, mode device registration to be
done earlier, directly in nsim_newlink().

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/netdev.c