drm/vram-helper: make drm_vram_mm_debugfs_init() return 0
authorWambui Karuga <wambui.karugax@gmail.com>
Tue, 10 Mar 2020 13:31:14 +0000 (16:31 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Mar 2020 15:24:48 +0000 (16:24 +0100)
commit3a748157f209a79748ee8dd7da82e5db913ffa52
treed13d061a693016843384625ae1e0ef0ebda04659
parent54ac836b16de05c9ca2e4a910a0848c0fa1d4a0c
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 <wambui.karugax@gmail.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
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-11-wambui.karugax@gmail.com
drivers/gpu/drm/drm_gem_vram_helper.c