diff options
| author | Wambui Karuga <[email protected]> | 2020-03-10 13:31:13 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-03-18 15:24:08 +0000 |
| commit | 54ac836b16de05c9ca2e4a910a0848c0fa1d4a0c (patch) | |
| tree | 326db3b7f99349576c60142ae550f35811e6221f /drivers/gpu/drm/omapdrm/omap_debugfs.c | |
| parent | drm/msm: remove checks for return value of drm_debugfs_create_files() (diff) | |
| download | kernel-54ac836b16de05c9ca2e4a910a0848c0fa1d4a0c.tar.gz kernel-54ac836b16de05c9ca2e4a910a0848c0fa1d4a0c.zip | |
drm/sti: remove use of drm_debugfs functions as return values
Since commit 987d65d01356 (drm: debugfs: make
drm_debugfs_create_files() never fail), drm_debugfs_create_files() never
fails, and should return void. This change therefore removes it uses as
a return value in various functions across drm/sti.
With these changes, the affected functions have been changed to use a void
return value.
v2: convert sti_mixer_debugfs_init() and sti_compositor_debugfs_init()
to return void too. Also have sti_drm_dbg_init() to return 0 to avoid
build issues.
References: https://lists.freedesktop.org/archives/dri-devel/2020-February/257183.html
Signed-off-by: Wambui Karuga <[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
