Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d384ea69 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds
Browse files

[PATCH] fix typo in acpi video brightness changes.



Prevent possible null dereference due to misplaced ;

Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6edad161
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1645,7 +1645,7 @@ static int acpi_video_bus_put_devices(struct acpi_video_bus *video)
			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);