drm/armada: factor out retirement of old fb
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 15 Jul 2015 17:11:24 +0000 (18:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 15 Sep 2015 15:26:50 +0000 (16:26 +0100)
commitfecfdb2db8b5fc2e6cb731a714889de5e43c2380
tree203b33cc428db36e762aaed194e8c1624d2e1089
parent28a2aebed6374c4af5224114e4b4273a3aae649a
drm/armada: factor out retirement of old fb

We have two identical places in the overlay code which retire the drm
framebuffer.  Factor these out into a common function.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/armada/armada_overlay.c