From patchwork Fri Sep 28 16:36:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 10620173 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CFDA6112B for ; Fri, 28 Sep 2018 16:36:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D8FE02BE57 for ; Fri, 28 Sep 2018 16:36:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD3632BE64; Fri, 28 Sep 2018 16:36:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB5A42BE60 for ; Fri, 28 Sep 2018 16:36:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727349AbeI1XAt (ORCPT ); Fri, 28 Sep 2018 19:00:49 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:46454 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726738AbeI1XAt (ORCPT ); Fri, 28 Sep 2018 19:00:49 -0400 Received: by mail-wr1-f65.google.com with SMTP id z3-v6so7028404wrr.13 for ; Fri, 28 Sep 2018 09:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=qL3yUFJ0UT1bR43mpkGMugA4fyPt/enfdN4FzCYYm+4=; b=NUpUIyOq1lTKWdVNXG6aalKMVKjyckdHmwvo6kgFLf8TUdeO2oRdpe/BR+0oIUjyxe ZRj/wU6D0ZkV4JssUAkrb1G1Fy+VQZ3LQEP2WhFN6rXXHjPzEtzQYjFtCvrL45vJ6IfU 76QKgus0J3nvN4FEn1a5eh9OUI7/lYAMc28gc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qL3yUFJ0UT1bR43mpkGMugA4fyPt/enfdN4FzCYYm+4=; b=l9Zli1Z7lzzoFXkIdCORVM812xTrpY4n+lGU3aktpx3P4neA2l5H5ZjFHu+uO9ACyW lVFWUq91EOnqYqx3jxX++VQZlobmppE8SD+NMLviyIyACwaCfpWquona5r68pK91OjzZ Sc9phv5AfTRDgGjoU0V/b0VexRzIvDvVMGcFgRZU7XLsqcoPR8LuUYm3IU4B5NaTjA7d o/UuQG7KwJhv7KFLNkLMouuSY1fGmdCGy6nJyTF60NHFb2yml8FLTxCKVgZnt+WmUNbE nr9+n0CkC34K8jciU69T6MwnMTl2cm5CvvGoDsOGvUSZNFlqrIsfax4UZO8nz+wTyE+7 Z1Ng== X-Gm-Message-State: ABuFfogypGBwY8xq05p622IoF3Y53J39Qp+Msp73CRK4n/m0l302NmNq qWRmwMverRWSfYoom62f3zXLot5e03s/0A== X-Google-Smtp-Source: ACcGV603nK5ZMplZt6oFXy+RE86QyFOaRn5mzx1IfRwLwqfCs8WmmexGWLG/UwueUOHFfwFoKZ57ag== X-Received: by 2002:adf:fb0e:: with SMTP id c14-v6mr12957820wrr.117.1538152573834; Fri, 28 Sep 2018 09:36:13 -0700 (PDT) Received: from localhost ([49.248.49.136]) by smtp.gmail.com with ESMTPSA id a1-v6sm1029768wrt.79.2018.09.28.09.36.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Sep 2018 09:36:13 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, edubezval@gmail.com, mka@chromium.org, rui.zhang@intel.com, Daniel Lezcano , linux-pm@vger.kernel.org Subject: [PATCH v1 0/2] driver: thermal: Move some drivers into subdirs Date: Fri, 28 Sep 2018 22:06:04 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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%) Acked-by: Daniel Lezcano