Loading drivers/thermal/qcom-spmi-temp-alarm.c +2 −2 Original line number Diff line number Diff line /* * Copyright (c) 2011-2015, 2017, The Linux Foundation. All rights reserved. * Copyright (c) 2011-2015, 2017, 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -201,7 +201,7 @@ static int qpnp_tm_get_temp(void *data, int *temp) chip->temp = mili_celsius; } *temp = chip->temp < 0 ? 0 : chip->temp; *temp = chip->temp; return 0; } Loading Loading
drivers/thermal/qcom-spmi-temp-alarm.c +2 −2 Original line number Diff line number Diff line /* * Copyright (c) 2011-2015, 2017, The Linux Foundation. All rights reserved. * Copyright (c) 2011-2015, 2017, 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -201,7 +201,7 @@ static int qpnp_tm_get_temp(void *data, int *temp) chip->temp = mili_celsius; } *temp = chip->temp < 0 ? 0 : chip->temp; *temp = chip->temp; return 0; } Loading