drm/core: use helper to check driver features
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 30 Sep 2014 14:49:56 +0000 (16:49 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 3 Oct 2014 08:38:56 +0000 (10:38 +0200)
commit1bcecfacde6269dc6cee9a098bc454222d441ff9
tree1bb6021abc55846fcf9f0b4f44510e39afdbe8ed
parent5a11f7f829a8d1b5c1c4774afcd263a2066d3179
drm/core: use helper to check driver features

The patch replaces direct access to driver_features field
by calls to helper function.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_fops.c
drivers/gpu/drm/drm_gem.c