drm/vc4: debugfs: Return an error on failure

vc4_debugfs_add_file() can fail, so let's propagate its error code instead
of silencing it.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-64-maxime@cerno.tech
This commit is contained in:
Maxime Ripard 2022-07-11 19:39:33 +02:00
commit fe3b0f784c
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
2 changed files with 27 additions and 23 deletions