firmware: sysfb: Add sysfb_disable() helper function
authorJavier Martinez Canillas <javierm@redhat.com>
Tue, 7 Jun 2022 18:23:35 +0000 (20:23 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Thu, 9 Jun 2022 14:15:36 +0000 (16:15 +0200)
commitbc824922b264aff40eba8c160972ee07a95e7dd4
treeb8813311eb77edcd738221a5098e3add8ae11fc3
parent0949ee75da6c918fcbd567e1bfa4943a56ab4e5d
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
Documentation/driver-api/firmware/other_interfaces.rst
drivers/firmware/sysfb.c
include/linux/sysfb.h