summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-13 13:44:55 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-06-13 15:10:01 +0200
commit90e73491d5db182407ce6b44bf4c88e7fbe706c1 (patch)
treed1d9f75ec4a771b5d648aa736c27137e53374f4a /drivers/gpu/drm/panel
parent921721738f4994b54f916f9a3bdd5dfdf26f753c (diff)
vga_switcheroo: no need to check return value of debugfs_create functions
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Also, because there is no need to save the file dentry, remove the local variable and just recursively delete the whole directory when shutting down. Cc: Lukas Wunner <lukas@wunner.de> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Sean Paul <sean@poorly.run> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190613114455.GA13119@kroah.com
Diffstat (limited to 'drivers/gpu/drm/panel')
0 files changed, 0 insertions, 0 deletions