]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fsl-dcu: use variable name dev for struct drm_device
authorStefan Agner <stefan@agner.ch>
Wed, 13 Apr 2016 07:14:18 +0000 (00:14 -0700)
committerStefan Agner <stefan@agner.ch>
Tue, 26 Apr 2016 03:45:33 +0000 (20:45 -0700)
commit47988d9a6c47ce8ff68d67f27ffe17d674e71339
tree386e11eba28bb8e279549aaff9b7aaf61135cb26
parentf31fc86715af5971303d927e3815b01a4740569c
drm/fsl-dcu: use variable name dev for struct drm_device

The driver uses different variable names for struct drm_device
across functions which is confusing. Stick to the more common
variable name dev. While at it, remove unnecessary if statement
in error handling.

Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c