commit | ee2e80c194628a0ba5cd0a5c37b46fa136e11004 | [log] [tgz] |
---|---|---|
author | Chuhong Yuan <hslester96@gmail.com> | Tue Jul 23 22:15:13 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 23 13:02:41 2019 -0700 |
tree | 9f86aa9c4757b76fc79ad8c56514673fef6d80d8 | |
parent | f521eaa9d2ef6d85bc6c318148f019e9f40fc344 [diff] |
e1000e: Use dev_get_drvdata where possible Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>