drm/fb-helper: generic: Don't take module ref for fbcon
authorNoralf Trønnes <noralf@tronnes.org>
Sun, 10 Feb 2019 13:10:39 +0000 (14:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:53:45 +0000 (09:53 +0200)
commite9fde78c3a4f7f374ffe589771f08e119d0879aa
tree9965d7e1169181f66ea5f569a59164ed2fdebf33
parent7821bcce20aa07ea7d21339fe1899dd5a026cee4
drm/fb-helper: generic: Don't take module ref for fbcon

[ Upstream commit 6ab20a05f4c7ed45632e24d5397d6284e192567d ]

It's now safe to let fbcon unbind automatically on fbdev unregister.
The crash problem was fixed in commit 2122b40580dd
("fbdev: fbcon: Fix unregister crash when more than one framebuffer")

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190210131039.52664-13-noralf@tronnes.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/drm_fb_helper.c