[Intel-gfx] [PATCH 3/5] drm/i915: sysfs spring cleaning

David Weinehall david.weinehall at linux.intel.com
Tue Aug 9 07:45:04 UTC 2016


On Mon, Aug 08, 2016 at 04:23:53PM +0100, Chris Wilson wrote:
> On Mon, Aug 08, 2016 at 04:19:59PM +0300, David Weinehall wrote:
> > -static inline struct drm_minor *kdev_to_drm_minor(struct device *kdev)
> > +static inline struct drm_i915_private *kdev_to_i915_dm(struct device *kdev)
> 
> Grumble.
> 
> What is i915_dm?
> 
> minor_kdev_to_i915()
> kdev_minor_to_i915()
> 
> The latter I guess.

The latter does indeed sound better. I'll respin the patch.


More information about the Intel-gfx mailing list