OSDN Git Service

netdevsim: rename dev_init/exit() functions and make them independent on ns
authorJiri Pirko <jiri@mellanox.com>
Thu, 25 Apr 2019 13:59:49 +0000 (15:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Apr 2019 05:52:02 +0000 (01:52 -0400)
commita60f9e48b7707b70a0701dd841e43492e1e68371
tree7118ee84a693fcd6aeb52a0a7cc8f04afc955d23
parentf9d9db47d3ba87309e022efa33b438e5ef329411
netdevsim: rename dev_init/exit() functions and make them independent on ns

These functions are going to be called from bus probe/release(),
therefore make them independent on ns struct and rename accordingly.

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