commit | 0589e8889dce8e0f0ea5bbf757f38865e2a469c1 | [log] [tgz] |
---|---|---|
author | Miaoqian Lin <linmq006@gmail.com> | Fri Dec 31 08:04:25 2021 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 06 15:47:45 2022 +0100 |
tree | a043ce7fca1bf8ad708b2cdd0f4b5c98be1d5a14 | |
parent | 358fcf5ddbec4e6706405847d6a666f5933a6c25 [diff] |
drivers/firmware: Add missing platform_device_put() in sysfb_create_simplefb Add the missing platform_device_put() before return from sysfb_create_simplefb() in the error handling case. Fixes: 8633ef82f101 ("drivers/firmware: consolidate EFI framebuffer setup for all arches") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20211231080431.15385-1-linmq006@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>