summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_display_debugfs.c
diff options
context:
space:
mode:
authorWambui Karuga <wambui.karugax@gmail.com>2020-03-10 16:31:17 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2020-03-18 16:27:14 +0100
commit68f73a1bef8717870ef5d7e7d6631c7fb937aac5 (patch)
tree4233faad18fd8014ebc882cf7699e9d42358df2f /drivers/gpu/drm/i915/display/intel_display_debugfs.c
parentb4441251e5d0465f72bd42feb0ab4ed5ca367a94 (diff)
downloadlinux-68f73a1bef8717870ef5d7e7d6631c7fb937aac5.tar.gz
linux-68f73a1bef8717870ef5d7e7d6631c7fb937aac5.tar.bz2
linux-68f73a1bef8717870ef5d7e7d6631c7fb937aac5.zip
drm/omap: remove checks for return value of drm_debugfs functions
Since 987d65d01356 (drm: debugfs: make drm_debugfs_create_files() never fail), there is no need to ever check the return value for drm_debugfs_create_files(). Therefore remove the checks for the return value and subsequent error handling in omap_debugfs_init(). These changes also enables the changing of omap_debugfs_init() to return 0 directly. v2: convert omap_debugfs_init() to return 0 instead of void to avoid introduction of build issues and enable individual driver compilation. References: https://lists.freedesktop.org/archives/dri-devel/2020-February/257183.html Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20200310133121.27913-14-wambui.karugax@gmail.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display_debugfs.c')
0 files changed, 0 insertions, 0 deletions