Re: [Outreachy kernel] [PATCH 1/2] drm: introduce drm_dev_{get/put} functions

2017-09-25 Thread Daniel Vetter
On Fri, Sep 22, 2017 at 01:17:06AM +0530, Aishwarya Pant wrote: > Reference counting functions in the kernel typically use get/put suffixes. For > maintaining coding style consistency, introduce drm_dev_{get/put} functions > and let the old APIs (with ref/unref suffixes) remain for compatibility. >

[PATCH 1/2] drm: introduce drm_dev_{get/put} functions

2017-09-22 Thread Aishwarya Pant
Reference counting functions in the kernel typically use get/put suffixes. For maintaining coding style consistency, introduce drm_dev_{get/put} functions and let the old APIs (with ref/unref suffixes) remain for compatibility. Signed-off-by: Aishwarya Pant --- drivers/gpu/drm/drm_drv.c | 64 +++