netdevsim: use ida for bus device ids
authorJiri Pirko <jiri@mellanox.com>
Thu, 25 Apr 2019 13:59:47 +0000 (15:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Apr 2019 05:52:02 +0000 (01:52 -0400)
commit57ce9774951360aad66c48b1b30683ffb1b23f61
tree6978f5a80eed9a2430c37d6aca7f75a2f7f6a453
parent23d415dae924498dcd26acf2850715dd1f419550
netdevsim: use ida for bus device ids

Instead of increments of u32 value, use ida to manage bus device ids.

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