aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_internal.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-09-09 14:21:29 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-09-09 15:03:38 +0200
commit26b91ae4732be89228d207c76827071c6aecc4d8 (patch)
treeb951f5a79313581c1ef383159947cd629b11f335 /drivers/gpu/drm/drm_internal.h
parentdrm: Make drm_av_sync_delay() 'mode' argument const (diff)
downloadlinux-dev-26b91ae4732be89228d207c76827071c6aecc4d8.tar.xz
linux-dev-26b91ae4732be89228d207c76827071c6aecc4d8.zip
drm: simplify drm_sysfs_destroy() via IS_ERR_OR_NULL()
Simplify `foo == NULL || IS_ERR(foo)` via IS_ERR_OR_NULL(). This is pretty commonly used all over the kernel, especially for debugfs/sysfs cleanup paths. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_internal.h')
0 files changed, 0 insertions, 0 deletions