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)
commitb617966c08a1606bed2f4dc5019ffac7f66e9467
tree386e11eba28bb8e279549aaff9b7aaf61135cb26
parentb7d11305b89a0d3d13d6087505daed94dde08574
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