diff options
author | Yangtao Li <frank.li@vivo.com> | 2023-07-10 16:19:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-27 09:50:39 +0300 |
commit | 6aa851f6276fa08cd59b044bc2b803c49edf58a2 (patch) | |
tree | 9be35dfa37cb702d6e08d867a2fcb5dc13a57f13 /tools | |
parent | e7bb9436ea975409684be958e4c45b970c306f15 (diff) | |
download | linux-6aa851f6276fa08cd59b044bc2b803c49edf58a2.tar.xz |
fbdev: imxfb: Removed unneeded release_mem_region
[ Upstream commit 45fcc058a75bf5d65cf4c32da44a252fbe873cd4 ]
Remove unnecessary release_mem_region from the error path to prevent
mem region from being released twice, which could avoid resource leak
or other unexpected issues.
Fixes: b083c22d5114 ("video: fbdev: imxfb: Convert request_mem_region + ioremap to devm_ioremap_resource")
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions