drm/arm/hdlcd: use new debugfs device-centered functions
authorMaíra Canal <mcanal@igalia.com>
Mon, 26 Dec 2022 15:50:23 +0000 (12:50 -0300)
committerMaíra Canal <mairacanal@riseup.net>
Fri, 6 Jan 2023 19:15:08 +0000 (16:15 -0300)
commit2e3ab8a6994f265bbd4dbd00448b84548f18464c
tree356890465e7beb857b0684ea6e32b62dcb004cc7
parentc702545e19ebb6113d607f2a30ba2ee6cf881a3a
drm/arm/hdlcd: use new debugfs device-centered functions

Replace the use of drm_debugfs_create_files() with the new
drm_debugfs_add_files() function, which center the debugfs files
management on the drm_device instead of drm_minor. Moreover, remove the
debugfs_init hook and add the debugfs files directly on hdlcd_drm_bind(),
before drm_dev_register().

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20221226155029.244355-4-mcanal@igalia.com
drivers/gpu/drm/arm/hdlcd_drv.c