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>
Wed, 29 Jun 2022 07:51:41 +0000 (09:51 +0200)
commitbde376e9de3c0bc55eedc8956b0f114c05531595
treedfa14e92599d91bcfd1cb336b80b388ae74beb77
parent9e121040e54abef9ed5542e5fdfa87911cd96204
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