drm/malidp: convert platform driver to use dev_groups
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 17 May 2020 19:36:54 +0000 (20:36 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 15 Jun 2020 13:56:09 +0000 (14:56 +0100)
commit21d456a21030819d92b13fad21fdcc0000f7c030
treeffcd2584ecdcd66c6783d0f9237633a35d1e2e5e
parent0f53f2da43fab1c9ce5cf0a9fc6f989e7ab29fd3
drm/malidp: convert platform driver to use dev_groups

Platform drivers now have the option to have the platform core create
and remove any needed sysfs attribute files.  So take advantage of that
and do not register "by hand" a sysfs file.

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Brian Starkey <brian.starkey@arm.com>
Cc: Mali DP Maintainers <malidp@foss.arm.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Liviu Dudau <liviu.dudau@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200517193655.3895087-2-emil.l.velikov@gmail.com
drivers/gpu/drm/arm/malidp_drv.c