]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: sysfb: Make sysfb_create_simplefb() return a pdev pointer
authorJavier Martinez Canillas <javierm@redhat.com>
Tue, 7 Jun 2022 18:23:34 +0000 (20:23 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Thu, 9 Jun 2022 14:11:00 +0000 (16:11 +0200)
commitc2e662925ade7e9edccf22e9d0e8f3e1b434eeea
tree185fd9e286818b39f5ce70d10258606b155ee55e
parent6b26378519eade988f69d6a0b82a7bf8846f3054
firmware: sysfb: Make sysfb_create_simplefb() return a pdev pointer

This function just returned 0 on success or an errno code on error, but it
could be useful for sysfb_init() callers to have a pointer to the device.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220607182338.344270-2-javierm@redhat.com
drivers/firmware/sysfb.c
drivers/firmware/sysfb_simplefb.c
include/linux/sysfb.h