[Intel-gfx] [PATCH] drm/i915: Use dev_get_drvdata

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 23 16:25:17 UTC 2019


Quoting Chuhong Yuan (2019-07-23 11:39:16)
> Instead of using to_pci_dev + pci_get_drvdata,
> use dev_get_drvdata to make code simpler.
> 
> Signed-off-by: Chuhong Yuan <hslester96 at gmail.com>

That cuts out some circumlocution,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list