firmware: sysfb: Add sysfb_disable() helper function

This can be used by subsystems to unregister a platform device registered
by sysfb and also to disable future platform device registration in sysfb.

Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220607182338.344270-3-javierm@redhat.com
This commit is contained in:
Javier Martinez Canillas 2022-06-07 20:23:35 +02:00
commit bde376e9de
No known key found for this signature in database
GPG key ID: C751E590D63F3D69
3 changed files with 66 additions and 6 deletions