fbdev/radeonfb: Reorder backlight and framebuffer cleanup
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 13 Jun 2023 11:06:56 +0000 (13:06 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 27 Jun 2023 07:58:49 +0000 (09:58 +0200)
commit1a7f3c2653f1b74a328d8af5bc4795cee7c00d68
treea747585ede9dc2f9847d948b733f1fea550e0274
parent52a46bb2fce21e5b4c772f58a2faa354608524f3
fbdev/radeonfb: Reorder backlight and framebuffer cleanup

The driver's backlight code requires the framebuffer to be
registered. Therefore reorder the cleanup calls for both data
structures. The init calls are already in the correct order.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230613110953.24176-22-tzimmermann@suse.de
drivers/video/fbdev/aty/radeon_base.c