diff options
author | Wambui Karuga <wambui.karugax@gmail.com> | 2020-03-10 16:31:05 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-03-18 16:20:28 +0100 |
commit | ad6d94f24f2024178bf71d126e93813dddde5ee4 (patch) | |
tree | e87076e1bd63bb0f8f2bf5be79414399c3202d80 /drivers/gpu/drm/tilcdc | |
parent | 82c0ef94b92ed29211a1d2d35f34624d7e1cad59 (diff) |
drm/tegra: remove checks for debugfs functions return value
Since 987d65d01356 (drm: debugfs: make
drm_debugfs_create_files() never fail) there is no need to check the
return value of drm_debugfs_create_files(). Therefore, remove the
return checks and error handling of the drm_debugfs_create_files()
function from various debugfs init functions in drm/tegra and have
them return 0 directly.
v2: remove conversion of tegra_debugfs_init() to void to avoid 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: Thierry Reding <treding@nvidia.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-2-wambui.karugax@gmail.com
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
0 files changed, 0 insertions, 0 deletions