[PATCH v1 0/2] driver: thermal: Move some drivers into subdirs

From: Amit Kucheria
Date: Fri Sep 28 2018 - 12:36:18 EST


Move the various drivers for Intel platforms into their own subdir. Also
consolidate Qualcomm drivers into the qcom subdir.

This cleans up the directory making it easier to find things.

There is no great time to send patches that move files around, but I'm told
that towards the end is nicer. So here's an attempt to sneak it into 4.20
after everything else and hoping that these files won't change after
4.19-rc4. :-)

This was compile-tested and generated against 4.19-rc4. If you would like
me to try another time, I'm happy to do so.

Regards,
Amit

Amit Kucheria (2):
drivers: thermal: Move various drivers for intel platforms into a
subdir
drivers: thermal: Move QCOM_SPMI_TEMP_ALARM into the qcom subdir

drivers/thermal/Kconfig | 94 +------------------
drivers/thermal/Makefile | 10 +-
drivers/thermal/intel/Kconfig | 77 +++++++++++++++
drivers/thermal/intel/Makefile | 12 +++
.../{ => intel}/int340x_thermal/Kconfig | 0
.../{ => intel}/int340x_thermal/Makefile | 0
.../int340x_thermal/acpi_thermal_rel.c | 0
.../int340x_thermal/acpi_thermal_rel.h | 0
.../int340x_thermal/int3400_thermal.c | 0
.../int340x_thermal/int3402_thermal.c | 0
.../int340x_thermal/int3403_thermal.c | 0
.../int340x_thermal/int3406_thermal.c | 0
.../int340x_thermal/int340x_thermal_zone.c | 0
.../int340x_thermal/int340x_thermal_zone.h | 0
.../processor_thermal_device.c | 0
.../{ => intel}/intel_bxt_pmic_thermal.c | 0
.../thermal/{ => intel}/intel_pch_thermal.c | 0
.../thermal/{ => intel}/intel_powerclamp.c | 0
.../{ => intel}/intel_quark_dts_thermal.c | 0
.../thermal/{ => intel}/intel_soc_dts_iosf.c | 0
.../thermal/{ => intel}/intel_soc_dts_iosf.h | 0
.../{ => intel}/intel_soc_dts_thermal.c | 0
.../{ => intel}/x86_pkg_temp_thermal.c | 0
drivers/thermal/qcom/Kconfig | 11 +++
drivers/thermal/qcom/Makefile | 1 +
.../thermal/{ => qcom}/qcom-spmi-temp-alarm.c | 0
26 files changed, 107 insertions(+), 98 deletions(-)
create mode 100644 drivers/thermal/intel/Kconfig
create mode 100644 drivers/thermal/intel/Makefile
rename drivers/thermal/{ => intel}/int340x_thermal/Kconfig (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/Makefile (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/acpi_thermal_rel.c (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/acpi_thermal_rel.h (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/int3400_thermal.c (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/int3402_thermal.c (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/int3403_thermal.c (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/int3406_thermal.c (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/int340x_thermal_zone.c (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/int340x_thermal_zone.h (100%)
rename drivers/thermal/{ => intel}/int340x_thermal/processor_thermal_device.c (100%)
rename drivers/thermal/{ => intel}/intel_bxt_pmic_thermal.c (100%)
rename drivers/thermal/{ => intel}/intel_pch_thermal.c (100%)
rename drivers/thermal/{ => intel}/intel_powerclamp.c (100%)
rename drivers/thermal/{ => intel}/intel_quark_dts_thermal.c (100%)
rename drivers/thermal/{ => intel}/intel_soc_dts_iosf.c (100%)
rename drivers/thermal/{ => intel}/intel_soc_dts_iosf.h (100%)
rename drivers/thermal/{ => intel}/intel_soc_dts_thermal.c (100%)
rename drivers/thermal/{ => intel}/x86_pkg_temp_thermal.c (100%)
rename drivers/thermal/{ => qcom}/qcom-spmi-temp-alarm.c (100%)

--
2.17.1