thermal: int340x: Clean up unnecessary acpi_buffer pointer freeing
authorDavidlohr Bueso <dave@stgolabs.net>
Thu, 24 Mar 2022 19:09:48 +0000 (12:09 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Apr 2022 18:25:21 +0000 (20:25 +0200)
commitbdff938d04409aba0e43e408ee47d45d1486b2ae
tree66838a39d4b32252b03e9ce1dd797d3101b95081
parent3123109284176b1532874591f7c81f3837bbdc17
thermal: int340x: Clean up unnecessary acpi_buffer pointer freeing

It is the caller's responsibility to free only upon ACPI_SUCCESS.

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Acked-by: Zhang Rui <rui.zhang@intel.com>
[ rjw: Subject edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/int3400_thermal.c