OpenCloudOS-Kernel/drivers/gpu/drm/arc
Wambui Karuga 2fb9c8a02f drm/arc: make arcgpu_debugfs_init() return 0.
Since commit 987d65d013 (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 arcpgu_debugfs_init() and have the latter function return
0 directly.

v2: convert the function to return 0 instead of void to avoid breaking
the build and ensure that this individual patch compiles properly.

References: https://lists.freedesktop.org/archives/dri-devel/2020-February/257183.html
Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Acked-by: Alexey Brodkin <abrodkin@synopsys.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-6-wambui.karugax@gmail.com
2020-03-18 16:22:47 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
arcpgu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
arcpgu_crtc.c drm/arc: Remove sending of vblank event 2020-01-30 08:57:22 +01:00
arcpgu_drv.c drm/arc: make arcgpu_debugfs_init() return 0. 2020-03-18 16:22:47 +01:00
arcpgu_hdmi.c drm/bridge: Extend bridge API to disable connector creation 2020-02-26 13:31:23 +02:00
arcpgu_regs.h DRM: ARC: PGU: replace unsupported by HW RGB888 format by XRGB888 2019-12-16 13:53:05 +03:00
arcpgu_sim.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00