drm/nouveau: simplify the return expression of nouveau_debugfs_init()
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 29 Apr 2022 09:03:09 +0000 (09:03 +0000)
committerLyude Paul <lyude@redhat.com>
Fri, 29 Apr 2022 19:44:54 +0000 (15:44 -0400)
commitab7671282b7ca750b5de99b2a59e51edab34ecc7
tree80858c8792cb77c6265b4a1c59d05677906fe9e2
parenta425e9802d029838660edd898667f8da6c64b030
drm/nouveau: simplify the return expression of nouveau_debugfs_init()

Simplify the return expression.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Reviewed-by: Lyude Paul <lyude@redhat.com>
[fixed an indenting error before pushing]
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220429090309.3853003-1-chi.minghao@zte.com.cn
drivers/gpu/drm/nouveau/nouveau_debugfs.c