commit | 26b91ae4732be89228d207c76827071c6aecc4d8 | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Wed Sep 09 14:21:29 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Sep 09 15:03:38 2015 +0200 |
tree | b951f5a79313581c1ef383159947cd629b11f335 | |
parent | 3a818d350f6b5ad542175ab1f71c027787ce952e [diff] |
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>