sony-laptop: fix return path when no ACPI buffer is allocated
authorMattia Dongili <malattia@linux.it>
Sat, 19 May 2012 13:35:45 +0000 (22:35 +0900)
committerMatthew Garrett <mjg@redhat.com>
Thu, 31 May 2012 18:29:34 +0000 (14:29 -0400)
commit3398241b0567c662a6fcf7e61c72c74aa9cee3e8
tree7dd9271a7f61c28f142958fc0d3eb50b9e802ff1
parentd6f15ed876b83a1a0eba1d0473eef58acc95444a
sony-laptop: fix return path when no ACPI buffer is allocated

The goto target location would still try to free a buffer that was
never allocated.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/sony-laptop.c