netdev: Pass class structure, instead of type, to "create" function.