All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bhupesh Sharma <bhupesh.sharma@linaro.org>
To: Jonathan Cameron <jic23@kernel.org>,
	"Rafael J . Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Amit Kucheria <amitk@kernel.org>,
	Thara Gopinath <thara.gopinath@gmail.com>,
	linux-pm@vger.kernel.org, Zhang Rui <rui.zhang@intel.com>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Subject: Re: [PATCH] thermal/drivers/qcom: Drop false build dependency of all QCOM drivers on QCOM_TSENS
Date: Fri, 2 Sep 2022 13:09:17 +0530	[thread overview]
Message-ID: <fa80cfba-2417-ec04-936a-88bea0b2a8e0@linaro.org> (raw)
In-Reply-To: <20220821160032.2206349-1-jic23@kernel.org>

Hi,

On 8/21/22 9:30 PM, Jonathan Cameron wrote:
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> 
> The SPMI QCOM drivers have no dependency in Kconfig, but the Makefile
> will not be included without QCOM_TSENS. This unnecessarily reduces
> build coverage.
> 
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Cc: Bhupesh Sharma <bhupesh.sharma@linaro.org>
> ---
> 
> Run into whilst trying to build test a namespace move for the IIO
> interfaces used in these drivers.

Good catch. Actually, I am working on a detailed cleanup of the 
Makefile, Kconfig and Maintainers entries for qcom thermal driver 
entries as in the present form having all entries inside qcom/ directory 
dependent on CONFIG_QCOM_TSENS doesn't seem optimal (especially with new
driver files being added).

> Maintainers entry for TSENS should probably also be made more
> specific.
> ---
>   drivers/thermal/Makefile | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
> index def8e1a0399c..2506c6c8ca83 100644
> --- a/drivers/thermal/Makefile
> +++ b/drivers/thermal/Makefile
> @@ -52,7 +52,7 @@ obj-$(CONFIG_DA9062_THERMAL)	+= da9062-thermal.o
>   obj-y				+= intel/
>   obj-$(CONFIG_TI_SOC_THERMAL)	+= ti-soc-thermal/
>   obj-y				+= st/
> -obj-$(CONFIG_QCOM_TSENS)	+= qcom/
> +obj-y				+= qcom/
>   obj-y				+= tegra/
>   obj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o
>   obj-$(CONFIG_MTK_THERMAL)	+= mtk_thermal.o

For now, this looks good to me, so:

Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>

Thanks.

  reply	other threads:[~2022-09-02  7:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-21 16:00 [PATCH] thermal/drivers/qcom: Drop false build dependency of all QCOM drivers on QCOM_TSENS Jonathan Cameron
2022-09-02  7:39 ` Bhupesh Sharma [this message]
2022-09-05 12:57 ` Amit Kucheria

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa80cfba-2417-ec04-936a-88bea0b2a8e0@linaro.org \
    --to=bhupesh.sharma@linaro.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=amitk@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=jic23@kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=thara.gopinath@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.