]> Gentwo Git Trees - linux/.git/commit
thermal: intel: int340x: Remove redundant acpi_has_method() call
authorSalah Triki <salah.triki@gmail.com>
Fri, 25 Jul 2025 05:07:01 +0000 (06:07 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 19 Aug 2025 19:18:29 +0000 (21:18 +0200)
commit3d9ab61f53cdf72fed737c66652a8aad9d27504c
tree24f5c73ad19819a551309e0a684d0cf7033c9f1c
parentc17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
thermal: intel: int340x: Remove redundant acpi_has_method() call

acpi_evaluate_object() returns an error if the needed method does not
exist, so remove an unnecessary acpi_has_method() call preceding it.

Signed-off-by: Salah Triki <salah.triki@gmail.com>
Link: https://patch.msgid.link/aIMQ9RFciI8jmmAh@pc
[ rjw: Subject adjustment ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c