From: Richard Purdie Date: Sat, 10 Feb 2007 14:10:33 +0000 (+0000) Subject: backlight: Rework backlight/fb interaction simplifying, lots X-Git-Tag: v2.6.21-rc1~52^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37ce69a57ff217a4ca0871e9ee5aa58c052b7d86;p=pandora-kernel.git backlight: Rework backlight/fb interaction simplifying, lots fb_info->bl_mutex is badly thought out and the backlight class doesn't need it if the framebuffer/backlight register/unregister order is consistent, particularly after the backlight locking fixes. Fix the drivers to use the order: backlight_device_register() register_framebuffer() unregister_framebuffer() backlight_device_unregister() and turn bl_mutex into a lock for the bl_curve data only. Signed-off-by: Richard Purdie --- Reading git-diff-tree failed