ACPI video: fix an error when the brightness levels on AC and on Battery are same
authorZhang Rui <rui.zhang@intel.com>
Tue, 14 Apr 2009 03:02:18 +0000 (11:02 +0800)
committerLen Brown <len.brown@intel.com>
Mon, 20 Apr 2009 04:22:44 +0000 (00:22 -0400)
commit90af2cf6205bfc8def8c5a64c9134031d60b10fb
tree0561387d1104c8ba5d16c4b248541df3f24dea97
parentd91dfbb41bb2e9bdbfbd2cc7078ed7436eab027a
ACPI video: fix an error when the brightness levels on AC and on Battery are same

when the brightness level on AC and brightness level on Battery
are same, the level_ac_battery is 1 in the current code,
which is wrong.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c