diff options
author | Chuhong Yuan <[email protected]> | 2019-07-23 18:39:16 +0800 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-07-23 17:55:08 +0100 |
commit | 906339a95e5a35f01cdf0430fca6dd526870a5ae (patch) | |
tree | d06f48dfc2ff388f5ee8f20fcaf2ed8fa955fdc6 /net/switchdev/switchdev.c | |
parent | 44c1ee17644c822842782c5e33bf2df19b67df03 (diff) |
drm/i915: Use dev_get_drvdata
Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.
Signed-off-by: Chuhong Yuan <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions