OpenCloudOS-Kernel/drivers/gpu/drm/msm
Wambui Karuga 9e2fd463ec drm/msm: remove checks for return value of drm_debugfs_create_files()
Since commit 987d65d013 (drm: debugfs: make
drm_debugfs_create_files() never fail), drm_debugfs_create_files never
fails and only returns 0. Therefore, the unnecessary checks for its
return value and error handling in various debugfs_init() functions in
drm/msm and have the functions return 0 directly.

v2: have debug functions return 0 instead of void to avoid build
breakage and ensure standalone 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-9-wambui.karugax@gmail.com
2020-03-18 16:23:57 +01:00
..
adreno drm/msm: remove checks for return value of drm_debugfs_create_files() 2020-03-18 16:23:57 +01:00
disp drm/msm: remove checks for return value of drm_debugfs_create_files() 2020-03-18 16:23:57 +01:00
dsi Linux 5.6-rc5 2020-03-11 07:27:21 +10:00
edp drm/bridge: Extend bridge API to disable connector creation 2020-02-26 13:31:23 +02:00
hdmi drm/bridge: Extend bridge API to disable connector creation 2020-02-26 13:31:23 +02:00
Kconfig drm/msm/gpu: add ocmem init/cleanup functions 2019-10-07 08:17:39 -07:00
Makefile drm/msm: add atomic traces 2019-09-03 16:17:02 -07:00
NOTES
msm_atomic.c drm/msm: add atomic traces 2019-09-03 16:17:02 -07:00
msm_atomic_trace.h drm/msm: add atomic traces 2019-09-03 16:17:02 -07:00
msm_atomic_tracepoints.c drm/msm: add atomic traces 2019-09-03 16:17:02 -07:00
msm_debugfs.c drm/msm: remove checks for return value of drm_debugfs_create_files() 2020-03-18 16:23:57 +01:00
msm_debugfs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
msm_drv.c Linux 5.6-rc2 2020-02-17 10:34:34 +01:00
msm_drv.h Linux 5.6-rc2 2020-02-17 10:34:34 +01:00
msm_fb.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
msm_fbdev.c drm: Remove drm_fb_helper add, add all and remove connector calls 2020-03-06 14:19:58 +01:00
msm_fence.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
msm_fence.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
msm_gem.c drm/msm: Use the correct dma_sync calls harder 2019-09-04 10:05:05 -07:00
msm_gem.h dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
msm_gem_prime.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
msm_gem_shrinker.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
msm_gem_submit.c drm/msm: Use dma_resv locking wrappers 2019-12-17 17:26:08 +01:00
msm_gem_vma.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
msm_gpu.c drm/msm: include linux/sched/task.h 2019-10-07 09:29:10 -07:00
msm_gpu.h drm/msm/gpu: add support for ocmem interconnect path 2020-01-02 14:20:42 -08:00
msm_gpu_trace.h drm/msm: add atomic traces 2019-09-03 16:17:02 -07:00
msm_gpu_tracepoints.c
msm_gpummu.c drm/msm: Remove unused function arguments 2019-10-07 08:25:30 -07:00
msm_iommu.c drm/msm: Remove unused function arguments 2019-10-07 08:25:30 -07:00
msm_kms.h drm/msm/dpu: async commit support 2019-09-03 16:17:01 -07:00
msm_mmu.h drm/msm: Remove unused function arguments 2019-10-07 08:25:30 -07:00
msm_perf.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00
msm_rd.c drm/msm: always dump buffer base/size 2019-11-02 09:43:24 -07:00
msm_ringbuffer.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
msm_ringbuffer.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
msm_submitqueue.c drm/msm: drop use of drmP.h 2019-09-03 16:16:57 -07:00