Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | thermal: hwmon: inline helpers when CONFIG_THERMAL_HWMON is not set | Eduardo Valentin | 2019-01-02 | 1 | -2/+2 |
| | | | | | | | | | | Avoid warnings like this: thermal_hwmon.h:29:1: warning: ‘thermal_remove_hwmon_sysfs’ defined but not used [-Wunused-function] thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) Fixes: 0dd88793aacd ("thermal: hwmon: move hwmon support to single file") Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> | ||||
* | drivers: thermal: Update license to SPDX format | Lina Iyer | 2018-05-30 | 1 | -16/+1 |
| | | | | | | | | Update licences format for core thermal files. Signed-off-by: Lina Iyer <ilina@codeaurora.org> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com> | ||||
* | thermal: hwmon: move hwmon support to single file | Eduardo Valentin | 2013-09-03 | 1 | -0/+49 |
In order to improve code organization, this patch moves the hwmon sysfs support to a file named thermal_hwmon. This helps to add extra support for hwmon without scrambling the code. In order to do this move, the hwmon list head is now using its own locking. Before, the list used the global thermal locking. Also, some minor changes in the code were required, as recommended by checkpatch.pl. Cc: Zhang Rui <rui.zhang@intel.com> Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Acked-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> |