Hello all, This is simple patch set with fixes on core thermal framework. These fixes are a set of changes that I find needed that I found during the process of attempting to describe thermal data using device tree.
These patches touch several drivers, as there is an API change. I have only compiled tested on other drivers. I have done a runtime test on OMAP and DRA devices though. Please feel free to perform your own test and report issues if you find some. All best, Eduardo Valentin (5): thermal: hwmon: move hwmon support to single file drivers: thermal: parent virtual hwmon with thermal zone drivers: thermal: make usage of CONFIG_THERMAL_HWMON optional thermal: thermal_core: allow binding with limits on bind_params drivers: thermal: add check when unregistering cpu cooling Documentation/thermal/sysfs-api.txt | 11 +- drivers/acpi/thermal.c | 6 +- drivers/platform/x86/acerhdf.c | 3 +- drivers/platform/x86/intel_mid_thermal.c | 2 +- drivers/power/power_supply_core.c | 2 +- drivers/thermal/Kconfig | 9 + drivers/thermal/Makefile | 3 + drivers/thermal/armada_thermal.c | 2 +- drivers/thermal/cpu_cooling.c | 6 +- drivers/thermal/db8500_thermal.c | 2 +- drivers/thermal/dove_thermal.c | 2 +- drivers/thermal/exynos_thermal.c | 2 +- drivers/thermal/kirkwood_thermal.c | 2 +- drivers/thermal/rcar_thermal.c | 2 +- drivers/thermal/spear_thermal.c | 2 +- drivers/thermal/thermal_core.c | 287 ++------------------- drivers/thermal/thermal_hwmon.c | 269 +++++++++++++++++++ drivers/thermal/thermal_hwmon.h | 49 ++++ drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 2 +- drivers/thermal/x86_pkg_temp_thermal.c | 2 +- include/linux/thermal.h | 12 +- 21 files changed, 398 insertions(+), 279 deletions(-) create mode 100644 drivers/thermal/thermal_hwmon.c create mode 100644 drivers/thermal/thermal_hwmon.h -- 1.8.2.1.342.gfa7285d -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/