backlight: Avoid unecessary driver callbacks
authorHelge Deller <deller@gmx.de>
Sun, 13 Jan 2008 23:01:13 +0000 (23:01 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Thu, 7 Feb 2008 09:31:52 +0000 (09:31 +0000)
commit515524537999c1f107a0a7c7f74c034979c2c86d
tree409cfcb5c15a2e46e67a9790850b94ac7a7fa8d4
parent488b5ec871191359b9b79262a3d48456dae7ea5f
backlight: Avoid unecessary driver callbacks

Avoid driver callbacks when the brightness hasn't changed since
they're not necessary.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/video/backlight/backlight.c