aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_debugfs.c
diff options
context:
space:
mode:
authorWambui Karuga <[email protected]>2020-03-10 13:31:14 +0000
committerDaniel Vetter <[email protected]>2020-03-18 15:24:48 +0000
commit3a748157f209a79748ee8dd7da82e5db913ffa52 (patch)
treed13d061a693016843384625ae1e0ef0ebda04659 /drivers/gpu/drm/omapdrm/omap_debugfs.c
parentdrm/sti: remove use of drm_debugfs functions as return values (diff)
downloadkernel-3a748157f209a79748ee8dd7da82e5db913ffa52.tar.gz
kernel-3a748157f209a79748ee8dd7da82e5db913ffa52.zip
drm/vram-helper: make drm_vram_mm_debugfs_init() return 0
Since 987d65d01356 (drm: debugfs: make drm_debugfs_create_files() never fail), drm_debugfs_create_files() never fails and should return void. Therefore, remove its use as the return value of drm_vram_mm_debugfs_init(), and have the function return 0 directly. v2: have drm_vram_mm_debugfs_init() return 0 instead of void to avoid introducing build issues and build breakage. References: https://lists.freedesktop.org/archives/dri-devel/2020-February/257183.html Signed-off-by: Wambui Karuga <[email protected]> Acked-by: Thomas Zimmermann <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_debugfs.c')
0 files changed, 0 insertions, 0 deletions