_lp_temperature: fix variable leak
Rename variable _lp_temp_function to _LP_TEMP_FUNCTION for consistency