diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-09-09 15:21:29 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-09 16:03:38 +0300 |
commit | 26b91ae4732be89228d207c76827071c6aecc4d8 (patch) | |
tree | b951f5a79313581c1ef383159947cd629b11f335 /drivers/gpu/drm/drm_internal.h | |
parent | 3a818d350f6b5ad542175ab1f71c027787ce952e (diff) | |
download | linux-26b91ae4732be89228d207c76827071c6aecc4d8.tar.xz |
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