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

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


Quoting Chris Wilson (2019-07-23 17:25:17)
> 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>

And pushed to dinq, thanks.
-Chris


More information about the Intel-gfx mailing list