Message ID | 20230219143657.241542-9-daniel.lezcano@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp880267wrn; Sun, 19 Feb 2023 06:57:11 -0800 (PST) X-Google-Smtp-Source: AK7set87SCMvq5PFJ1Sl6KTv8oTtBtc4bXcxO79YO50faQyQ3oofD/NdVkFk9p8+z7EZ8w6EfX3P X-Received: by 2002:aa7:d307:0:b0:4ae:eab6:9fac with SMTP id p7-20020aa7d307000000b004aeeab69facmr2163063edq.32.1676818631746; Sun, 19 Feb 2023 06:57:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676818631; cv=none; d=google.com; s=arc-20160816; b=Nf63tVJ8sQicH3UKa/MBEzN9TB9qs9gDbr+Jhmmg0u2bsDDV4KY5l08PJkihuttWXs 9y4l//GJvV+5hSMCYP3BM05pm9fykt6FVtO+RjDzqhFqTnB7oh3za0ldwrpte9dwj6ya b1kMb5ePyGjhu1eL2WMcr9GNSdFG+TjEEWZ91njJ1vxG0kr1WhE1umGR3Wsr2amHka4f 8LXyUTDDnrcGvYb4MrlZUS9rTi/5aoBDReeNioI/0UlcgvOcqaM4JKcRlnlTzNTBfRgj Eh76TvlRsOB0KiGkGkPxF0l6b90vPaeM5fOU/PKayHqsJ6Jg1R+97NYwmks8YZV/FJSi KQzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R+m/EU1gXSm6WJAQH5g7filkNUzVF/bX1PoRwHbFLko=; b=mijdL0s1Qj8VJb9twVplLL32zbfK9bl9a9IEHxILzac3AmYwMaGcp5FG1IP5WvB69C IcbNB8J9XwRz/vcaj9BxxyEgdktdN162g00fjpvd143+Nw3UgpfdpqbkXmabop+d2vx7 ZdNatC7eukT5iMGi7LtekRI1iA0b+NTGHtcnR1ZybFraaBNZ1aUrxfUdZSdLnGOtQlF4 FNI3vY7SU2acH6/AD17R66b178vl8YLf2mJDAxO3gOw7MbAGIxLnqrSVR2AkCTJid0bt nknv2CazO/MFNWGCv+KQLFnw7/kcCCV//yodDySX3zc6qXZ7/IhgjTqZ0WQIyf++e/zC 3vCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VfYYkZ5T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r6-20020aa7d146000000b004ab25817358si12222041edo.251.2023.02.19.06.56.48; Sun, 19 Feb 2023 06:57:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VfYYkZ5T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbjBSOjM (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Sun, 19 Feb 2023 09:39:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230196AbjBSOia (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 19 Feb 2023 09:38:30 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5084ADBFE for <linux-kernel@vger.kernel.org>; Sun, 19 Feb 2023 06:38:04 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id c17so334657wrx.0 for <linux-kernel@vger.kernel.org>; Sun, 19 Feb 2023 06:38:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R+m/EU1gXSm6WJAQH5g7filkNUzVF/bX1PoRwHbFLko=; b=VfYYkZ5TT/u3ZWOI3DwDBtkU4ce4agJCXU3Arhh4MdTVQZjY/nmlEDLM5bgbB43OrI f55PvFEfRJw2pck5/OeJCBh3jAnEeYQdX9AaNdVF1uNPaBwQ3brAINO9GBynjOdxBX4l rv36igFYqV3LFOfu+SN44+YKg3vOEhwfvr96D6SD92d4YpRa07EH5NEyzPCXIMmQxJP6 yAqu/7lVfUTXlixWDPB1FEnVJRvWli3KDCPziT32lNqwGF7JcygstYJ04zOxN+IDhfvR HcTdTlRCNxzrMqBa6uSlpjJ+lZJbzhke+SCHS5JoYdvUisdfG1QaaEEbUpzDGx3o1EWj OWEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R+m/EU1gXSm6WJAQH5g7filkNUzVF/bX1PoRwHbFLko=; b=Rjvgckq+/jq+yrw9QwN9eXZD1pyCNuA1MxzHPDt6oXJ1tKkdtZJUfksQS+LTaUd2++ pHcgHVPgI+0nocUEcA4P9WrStOg7RH285KjYoL+zkyjirWvETPLTdt9bMMoPiAGZtyf2 5+j3p7owvYffivUfnPMYe2i/AR6CZ+ZLeMkWdwVxc2fE+AmCGg5lFbbJvC6JcwAir/Tz 0NbpbyXDqZCeqQnEcV3uDacnibpCqpml9d1NBXDZIpo7o8sf/hSv+IAK5hqDLXG2evQy ulyksR0bgXJRloq1KhVXgz2LvtKjVASh98WhluDtta1XnGyqxGYtx++tRlQ4VQvrzclo KwxA== X-Gm-Message-State: AO0yUKU592HX8ABJpkkUYI8B+OTxTHpsswx53L2GOrLbpzzm1oJ+P7Xq fb0YRv8k5McaAR5os5tD+0el9Q== X-Received: by 2002:a5d:42d2:0:b0:2c5:7c26:c2cc with SMTP id t18-20020a5d42d2000000b002c57c26c2ccmr870419wrr.29.1676817483815; Sun, 19 Feb 2023 06:38:03 -0800 (PST) Received: from mai.box.freepro.com ([2a05:6e02:1041:c10:6f43:b92:7670:463]) by smtp.gmail.com with ESMTPSA id a18-20020adfe5d2000000b002be505ab59asm86176wrn.97.2023.02.19.06.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Feb 2023 06:38:03 -0800 (PST) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: rafael@kernel.org, daniel.lezcano@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com> Subject: [PATCH v1 08/17] thermal/drivers/spear: Don't use tz->device but pdev->dev Date: Sun, 19 Feb 2023 15:36:48 +0100 Message-Id: <20230219143657.241542-9-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230219143657.241542-1-daniel.lezcano@linaro.org> References: <20230219143657.241542-1-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758271773717679253?= X-GMAIL-MSGID: =?utf-8?q?1758271773717679253?= |
Series |
Self-encapsulate the thermal zone device structure
|
|
Commit Message
Daniel Lezcano
Feb. 19, 2023, 2:36 p.m. UTC
Use the spear associated device instead of the thermal zone device
which belongs to the thermal framework internals.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
drivers/thermal/spear_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c index 62cd9305eb9c..4598dedb82ec 100644 --- a/drivers/thermal/spear_thermal.c +++ b/drivers/thermal/spear_thermal.c @@ -137,7 +137,7 @@ static int spear_thermal_probe(struct platform_device *pdev) platform_set_drvdata(pdev, spear_thermal); - dev_info(&spear_thermal->device, "Thermal Sensor Loaded at: 0x%p.\n", + dev_info(&pdev->dev, "Thermal Sensor Loaded at: 0x%p.\n", stdev->thermal_base); return 0;