net: sandbox: Move disabled flag into priv struct
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 26 Sep 2018 21:48:53 +0000 (16:48 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:28:56 +0000 (12:28 -0500)
commite4ab9a65081f032495533af7474d52ff17dd5d27
tree4dc3f3af241eb59d0910aba5bcc4f869409c459b
parent5b7239860830dab2ed47814875729f06109725df
net: sandbox: Move disabled flag into priv struct

Store the per-device data with the device.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/net/sandbox.c