netdevsim: move shared dev creation and destruction into separate file
authorJiri Pirko <jiri@mellanox.com>
Fri, 12 Apr 2019 12:49:26 +0000 (14:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2019 23:49:54 +0000 (16:49 -0700)
commitaf9095f00d348aebb532b3c443f9397029a98d3e
treef2f34e8a93e00c2bef2f513d9e4985ec0007241c
parent3c91d114832027b75a6518734081a2507c5d7a87
netdevsim: move shared dev creation and destruction into separate file

To make code easier to read, move shared dev bits into a separate file.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/Makefile
drivers/net/netdevsim/netdev.c
drivers/net/netdevsim/netdevsim.h
drivers/net/netdevsim/sdev.c [new file with mode: 0644]