On Wed, Dec 07, 2022 at 10:23:22AM -0300, Maíra Canal wrote: > Currently, vc4 has its own debugfs infrastructure that adds the debugfs > files on drm_dev_register(). With the introduction of the new debugfs, > functions, replace the vc4 debugfs structure with the DRM debugfs > device-centered function, drm_debugfs_add_file(). > > Moreover, remove the explicit error handling of debugfs related functions, > considering that the only failure mode is -ENOMEM and also that error > handling is not recommended for debugfs functions, as pointed out in [1]. > > [1] https://lore.kernel.org/all/YWAmZdRwnAt6wh9B@xxxxxxxxx/ > > Signed-off-by: Maíra Canal <mcanal@xxxxxxxxxx> Reviewed-by: Maxime Ripard <maxime@xxxxxxxxxx> Maxime
Attachment:
signature.asc
Description: PGP signature