commit | 9780cb97afd868fb11500f38826b7f30d554535c | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Mon Oct 09 15:43:56 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 09 09:46:54 2017 -0700 |
tree | 7c5ad77d683770ddbdbac651dec97e61347046e5 | |
parent | 5bca3b94dfbf9259d972a5be91333dda6eb9f350 [diff] |
net: hns3: Add hns3_get_handle macro in hns3 driver There are many places that will need to get the handle of netdev, so add a macro to get the handle of netdev. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>