fix typo in acpi video brightness changes.
Prevent possible null dereference due to misplaced ;
Signed-off-by Dave Jones <[email protected]>
drivers/acpi/video.c renamed from drivers/acpi/video.c~ +1 -1
@@ -1645,7 +1645,7 @@ static int acpi_video_bus_put_devices(st printk(KERN_WARNING PREFIX "hhuuhhuu bug in acpi video driver.\n"); -if (data->brightness); +if (data->brightness)kfree (data->brightness->levels);kfree (data->brightness);kfree (data);
Signature · 1 line
http://www.codemonkey.org.uk