Message ID | 20230228112238.2312273-12-daniel.lezcano@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2955184wrd; Tue, 28 Feb 2023 03:25:13 -0800 (PST) X-Google-Smtp-Source: AK7set/6XUjoIDIyO28HCL9bcLvmg3f/4PVU80zNUxxTNyJCVvtJwcF+xLed8NPUoPFP0v10nb1S X-Received: by 2002:a17:902:db09:b0:19c:171a:d346 with SMTP id m9-20020a170902db0900b0019c171ad346mr3049774plx.44.1677583512901; Tue, 28 Feb 2023 03:25:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677583512; cv=none; d=google.com; s=arc-20160816; b=hQaD+QI7XVsAp+pvzEc02gbWOfNi/jJPDz4rqP6zd1hVgZFVkYX943YOd2wy2NbS/Z 0AnYd8l4/FUe8HU+1phcPyoHdanqO6ybX741rLGUSAxLwdgj+/IVORPRA53Oh0MHxhxi /W+vwfpljwpheGPH0atM9w/pM0k9gwyhYGh5WHRhYef9EUizopadz6F8fceUoybp8CHp P9yAawtjbwMsnaYq1eyfW6Hlh3Jt4qdrOLN6tKY+81Ar26WLH6izplb2FnXYcH9CXAW3 bLnQtAUNvPrChRvlZBY65aL67yQDAQXVAolkIi7SfubE+V1PfNUeSa+WFfSo6fmnq16J usZQ== 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=MVdgWpAFCojRfEmtrK5jCjMCpct5NgUpVAZqrr++Uhs=; b=ir/vqJTTfWljCgxtu9VATfnLKwqN23tAt8crdOzDXKqa8wecp18mLd3lmY5UKV58Mz PZhIeo90U+MlKFuOJk8EcDWLVmzCQdbhVU7Z+Am/rZxuqgQ0gqhaoM1eYCN94gf2kmm9 Zwd3KnV9ChEmgiYd0X3l2tbLO42x794CdBqcnnx5hUWYrkUQdW9/6uyuqdYRQb3kmonu Kl44lnIy/+/QbA0D0EKlFFVsDyA5nHovbsyPgWIZ3ZezkDxLLxPapMmZYoSLfUMz86kY Gms1Z53A2q+NhyJs97Lx5ihwDVKJsFtUYUmD13Q9F/Mg5Ey3fNmUW0mlBMUdv+qVNjaC IGfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GBsd0NXN; 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 p3-20020a170903248300b001967d895ce0si9081128plw.213.2023.02.28.03.24.59; Tue, 28 Feb 2023 03:25:12 -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=GBsd0NXN; 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 S231668AbjB1LYc (ORCPT <rfc822;brysonjbanks@gmail.com> + 99 others); Tue, 28 Feb 2023 06:24:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231555AbjB1LYJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 28 Feb 2023 06:24:09 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C785B55AA for <linux-kernel@vger.kernel.org>; Tue, 28 Feb 2023 03:23:30 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id v16so6528716wrn.0 for <linux-kernel@vger.kernel.org>; Tue, 28 Feb 2023 03:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677583410; 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=MVdgWpAFCojRfEmtrK5jCjMCpct5NgUpVAZqrr++Uhs=; b=GBsd0NXNUhijxeivp3xGCAeUf73T7L6PKR4bCS5NvI/hSzveAraHZExaJQ6eSdvL0p CCk/GCypFfO/BKSb8RDnPRl43C4TTnUrHGeG0YiJ6qYWLdvpH9IqnHDBELKadVvv+fdW zmEt7DqPl7XIK1GVjZ9SRo51pthKNx3qye9N5MsR+x2SWD7ccn49oggJYYQr2ddjz2r4 r5yvaZ8KGHhywMSJrWS9a0qRxxCWOrNKnDL136X558eLDSldq7nd2dAUGVW7CBuhO0d3 cFBF11QxpLcnLF70DFiFjUyDU0WikxilpXJDwe9A6A754G2sb5YOnSm1mQgO+a3qkc1x JTxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677583410; 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=MVdgWpAFCojRfEmtrK5jCjMCpct5NgUpVAZqrr++Uhs=; b=rEChwFiuj7eM65OeyR6fJff+MySuuNP/9vJlu5nM5pP3WDttvP66Wn3lH1gIWder6S Wjtrk251L5imzedvUIBveu3IRKyl+tTklwspT/decT1wCqrn9fzOIPY3peY5Ow7gwzAA xH6bvt2H/mEzbIZaRHuAhQzpYHfXLPHpQd4q6E8pPY+s7L36OjDzLZmRxOn+LdKAZbHi 5G20lpngIoIPmFlsK8wVksDHGNHJodpmFEghuRcn7+lgwS9bvuGAArdRanKgzfr6uCrw 5kGTkAbRUFe1SbGYQM+z5Z8yS4UAUiy7IQKWBV43/o5O2DTi66jzOlJIBaXcKx686mKm PqRA== X-Gm-Message-State: AO0yUKVev5wtkoVZwo51XOP7PYdWGaQ1X7zDOTHwaUkAVx9XNn0ijxqq qGe3hJ/3atUZ0lcVBA0NGgnmPw== X-Received: by 2002:adf:e545:0:b0:2c7:cdf:e296 with SMTP id z5-20020adfe545000000b002c70cdfe296mr1758873wrm.66.1677583410296; Tue, 28 Feb 2023 03:23:30 -0800 (PST) Received: from mai.box.freepro.com ([2a05:6e02:1041:c10:6830:6390:2815:b6a5]) by smtp.gmail.com with ESMTPSA id z5-20020a5d6545000000b002c5501a5803sm9598130wrv.65.2023.02.28.03.23.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 03:23:29 -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 v4 11/19] thermal/drivers/spear: Don't use tz->device but pdev->dev Date: Tue, 28 Feb 2023 12:22:30 +0100 Message-Id: <20230228112238.2312273-12-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228112238.2312273-1-daniel.lezcano@linaro.org> References: <20230228112238.2312273-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?1759073809463953033?= X-GMAIL-MSGID: =?utf-8?q?1759073809463953033?= |
Series |
Self-encapsulate the thermal zone device structure
|
|
Commit Message
Daniel Lezcano
Feb. 28, 2023, 11:22 a.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 653439b965c8..6e78616a576e 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;