diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-23 22:16:24 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-23 13:02:42 -0700 |
commit | 5daab287c67d8008a01e4a0db8bcb92b386b8adc (patch) | |
tree | 75e46c5c750855e898d47b2f2c1d6e9eff69d0b1 /drivers/net/sungem_phy.c | |
parent | 1c8aa7b1f15bff91a9abef3f083770793ea2f773 (diff) | |
download | linux-5daab287c67d8008a01e4a0db8bcb92b386b8adc.tar.gz linux-5daab287c67d8008a01e4a0db8bcb92b386b8adc.tar.bz2 linux-5daab287c67d8008a01e4a0db8bcb92b386b8adc.zip |
igb: 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>
Diffstat (limited to 'drivers/net/sungem_phy.c')
0 files changed, 0 insertions, 0 deletions