Re: [Intel-gfx] [PATCH 2/4] drm/i915: Consistent struct device naming

2016-08-02 Thread Jani Nikula
On Tue, 02 Aug 2016, Joonas Lahtinen wrote: > On ma, 2016-08-01 at 19:57 +0100, Chris Wilson wrote: >> On Mon, Aug 01, 2016 at 06:38:53PM +0300, David Weinehall wrote: >> > >> > We currently have a mix of struct device *device, struct device *kdev, >> > and struct device *dev (the latter forcing

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Consistent struct device naming

2016-08-02 Thread Joonas Lahtinen
On ma, 2016-08-01 at 19:57 +0100, Chris Wilson wrote: > On Mon, Aug 01, 2016 at 06:38:53PM +0300, David Weinehall wrote: > > > > We currently have a mix of struct device *device, struct device *kdev, > > and struct device *dev (the latter forcing us to refer to > > struct drm_device as something e

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Consistent struct device naming

2016-08-01 Thread Chris Wilson
On Mon, Aug 01, 2016 at 06:38:53PM +0300, David Weinehall wrote: > We currently have a mix of struct device *device, struct device *kdev, > and struct device *dev (the latter forcing us to refer to > struct drm_device as something else than the normal dev). > > To simplify things, always use kdev

[Intel-gfx] [PATCH 2/4] drm/i915: Consistent struct device naming

2016-08-01 Thread David Weinehall
We currently have a mix of struct device *device, struct device *kdev, and struct device *dev (the latter forcing us to refer to struct drm_device as something else than the normal dev). To simplify things, always use kdev when referring to struct device. Signed-off-by: David Weinehall --- driv