Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2397600imn; Tue, 2 Aug 2022 00:52:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1segLXBWLqcbhUL4hzXevEJ22gpjlcP+5v2ux6YacJcfvkQA7xKqn0K6Wuxm5lZA4V4Br24 X-Received: by 2002:a65:6b96:0:b0:41a:617f:e193 with SMTP id d22-20020a656b96000000b0041a617fe193mr15782884pgw.85.1659426732533; Tue, 02 Aug 2022 00:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659426732; cv=none; d=google.com; s=arc-20160816; b=gIL+6OzXHJEB1IiUu0gI9wDpSWXpqDOkbowjURD/LYgirR0pxRHIAcUtW3vNYQg7O1 jIGHgXlzYJ25PGtp0X80bxB/GHP2+lnDrVvDlYGtXrZK7lxncat3/9bwc9x2CgNDnOvf OcVXwNvT1Pu+OZCvlOZStQpo2ynsgIKMNJFVdGpWAPAzN0LjzABlh6rb6EUTkw1N5zvf fjtA4rNNvBt4kyxoyO9OUuqioQOFTqUnksDQPYTMjTKpQ9r73KxCYqSz81Cibnsz2i39 UjCj8ipIzTSRaNSCUV78XrFxjvGHOx24MMep++OaT39Lb1vo29sGVBZLF6lKsPUG1Xif cxVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=bL6fGScq+yhoKFMlnh6d0gxqoohgKkceu0Z+UVQzyQI=; b=aSsnOpbArM19ZfKvvTZ5Ef6wlnn5h1l4SgXoGFzC18bWQx8hKEwQ+SltxoBy23eYh3 /VPbPDWO1cPo1kbofcpQMn1QK4BBTisjG71GTXSP3tU8T3rwoNVOUeBehHrDvYUJ9imL 3dIagrbmuuPGQbz0wwCzhrwd/aKRAzGiSYjyd18krnCembaJnD4TjjBokkk6MFAJQM9x S7E5hoakPV8qXSue5kukENmiUZCKVgcxOmQ8PsIE3ssGfcHo0iu73tad3OCjHMJ+T7JV lrR1LsXJlNxmen/CKsJwBXbUqFSejm3dRpYhKRWNMpw8NGG4Zgp2xuApi1iXupubf0mu rPLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RcIOpJJ0; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s16-20020a17090302d000b0016ec8629341si10139698plk.427.2022.08.02.00.51.57; Tue, 02 Aug 2022 00:52:12 -0700 (PDT) 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=RcIOpJJ0; 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 S235802AbiHBHRZ (ORCPT + 99 others); Tue, 2 Aug 2022 03:17:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235790AbiHBHRV (ORCPT ); Tue, 2 Aug 2022 03:17:21 -0400 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CB3E49B54 for ; Tue, 2 Aug 2022 00:17:20 -0700 (PDT) Received: by mail-qt1-x82c.google.com with SMTP id c20so9719740qtw.8 for ; Tue, 02 Aug 2022 00:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=bL6fGScq+yhoKFMlnh6d0gxqoohgKkceu0Z+UVQzyQI=; b=RcIOpJJ0Ov5o4fHdrPK1zfrXJX6gdPFzu7fjwuuUjXM6UHBZyGruAo4zx7iEo477RD Fp4PVSRuVwiRll7m1oVNQrgPxvrYz3awbWW7JV8FAoP6ENu1uux5Q5wq/CSFU9COSbdY yd6A0uqiEvPxRvSttO9SFeT73/nDoFT0jIVbJXgwqetOUrapXbl8kWmYRLLjXaCVKKvT PXNdJ7RGAsU6C5mOPZ076oZabnIasPRsJts5TmEhMIHgfutaqLl1x3vF0LHCdEXA72EA 5WcDgdW0Rj7KiTODrCDuU6Zh+yUKhdkUUXTNHeNT6SDa9Er0lLYq63Ruiq+b6AGe1jGS 93Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=bL6fGScq+yhoKFMlnh6d0gxqoohgKkceu0Z+UVQzyQI=; b=Vqlrrnit3hSDlkXMAUme6LHTWxXBkmaUs4NeLF46osQX6uuor3h81pTZb66C/dVDQ/ JWySIe/eiKo+uGQxi1IJVvM+Srl2ZeDWZpHNIqiW+jOqZP+fiZlbZ+CpKGquwjkqa8aN 7mVfcNhHTCHOSSImKLtgN/gJmD2a6ZbJL3h54G2A8QdNq2eH0SojqqrnoCa3ZKr9wGBz 0IWdQtLUA45ZXiFpkzm+7O0zaiDnYsvBYwn4wQ8JV3XvJjqweSCtexAXXRAAGNy3cxOE LbzlfSVZdGJ0fHjlAUktinLw+fV4qlybu8grY9ErQ5wZ9gBJsDAJEfa8LfNa4FqUscMh cgZg== X-Gm-Message-State: AJIora99bg47uxzx4b0kLFy2FG1bTFLKej8l1kjMBqEAcQ9NHQi0fOLV 9SPGFH2wCATbBiR7kwiwM9IKvJaMiwW+W6T+LnWHGQ== X-Received: by 2002:ac8:5942:0:b0:31f:39f6:aba7 with SMTP id 2-20020ac85942000000b0031f39f6aba7mr16851230qtz.295.1659424639554; Tue, 02 Aug 2022 00:17:19 -0700 (PDT) MIME-Version: 1.0 References: <20220801212244.1124867-1-daniel.lezcano@linexp.org> <20220801212244.1124867-12-daniel.lezcano@linexp.org> In-Reply-To: <20220801212244.1124867-12-daniel.lezcano@linexp.org> From: Dmitry Baryshkov Date: Tue, 2 Aug 2022 10:17:08 +0300 Message-ID: Subject: Re: [PATCH v4 11/32] thermal/drivers/qcom: Switch to new of API To: Daniel Lezcano Cc: daniel.lezcano@linaro.org, rafael@kernel.org, rui.zhang@intel.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, khilman@baylibre.com, abailon@baylibre.com, lukasz.luba@arm.com, broonie@kernel.org, damien.lemoal@opensource.wdc.com, heiko@sntech.de, hayashi.kunihiko@socionext.com, mhiramat@kernel.org, talel@amazon.com, thierry.reding@gmail.com, digetx@gmail.com, jonathanh@nvidia.com, anarsoul@gmail.com, tiny.windzz@gmail.com, baolin.wang7@gmail.com, f.fainelli@gmail.com, bjorn.andersson@linaro.org, mcoquelin.stm32@gmail.com, glaroque@baylibre.com, miquel.raynal@bootlin.com, shawnguo@kernel.org, niklas.soderlund@ragnatech.se, matthias.bgg@gmail.com, j-keerthy@ti.com, Andy Gross , Amit Kucheria , Thara Gopinath , "open list:ARM/QUALCOMM SUPPORT" Content-Type: text/plain; charset="UTF-8" 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=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2 Aug 2022 at 00:24, Daniel Lezcano wrote: > > The thermal OF code has a new API allowing to migrate the OF > initialization to a simpler approach. The ops are no longer device > tree specific and are the generic ones provided by the core code. > > Convert the ops to the thermal_zone_device_ops format and use the new > API to register the thermal zone with these generic ops. > > Signed-off-by: Daniel Lezcano Reviewed-by: Dmitry Baryshkov > --- > drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 19 +++++++++---------- > drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 12 ++++++------ > drivers/thermal/qcom/tsens.c | 16 ++++++++-------- > 3 files changed, 23 insertions(+), 24 deletions(-) -- With best wishes Dmitry