Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3923224imw; Mon, 11 Jul 2022 20:00:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tz7DATkkcegB0Q/9AEA8zHqPZ3q3VgvflFSwmr0inCZWCfaR0tQ+OsTti0M2hMf7AqyMo0 X-Received: by 2002:a17:902:d48a:b0:16b:f0be:4e15 with SMTP id c10-20020a170902d48a00b0016bf0be4e15mr21680600plg.155.1657594804072; Mon, 11 Jul 2022 20:00:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657594804; cv=none; d=google.com; s=arc-20160816; b=lcet4bECoGPBfMtDcM49q0tInK7OxxVa9yjY0laOIEHSXaWmoQmmzyIsLf8Ot16J6Q l4DPyZvqSHpqhR2rbACi/eHpAVg074IIj2ytF+o6f/KoieuJH5IaWToBbLHUyxVq0E7A iv3uPZfi7EDbCHuHPKXjW8TR1nnwq68wN6BoXdbr5IfpTyuDDeJmy83YkHgCnZ3AU+oD ZeZtbRX+ZMWJgsxQnVYO6NSQefTEWxeQmc/xcqDJ09WVKuQUmE9BoEG6x2BxJQfRmPJN 342BZpEbk7ZYJcrGm//LQduexJE/iOzUPw/UeD7dD5P1slm0qAYh+cGfUKapapFjt0JI t14Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=lDqoYU06M5qfjJNyMJVfxr7RWOkJpJykf6wQoyOq3/4=; b=SYh2a2+R48w+hOxL83nHW6M67qZKVfkqXepYqCbPYvu/zHxpfVG2g515rqSvC6sTU5 ALyrhHmV6s1iVedl7cimsSAZkSAmc4qzB5k140/kJdXzSUlAezlLjzLOvwSdHROjhAL7 jajoSqC4eK/YM0/n2xY/a21GRPdLmq6y6FMfxSriu2Mz3K4+g+TmUYUDzJgK1NK3iOSW IkYJ8T5b1jPPIXgbpXuuaXlCAiiK74UWfgUaA1R4yuqQLm1NE/SBXYmAipu+rEk2ulsY q7CVm7XpNYnPmIuI6GU5WcfDFxS/F3/Rmn3OP27hl3GS8BqfQl62XKvdGm+gbvJE02ni G8zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nktI3+yV; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q22-20020a056a00151600b00506475da4desi10641693pfu.151.2022.07.11.19.59.52; Mon, 11 Jul 2022 20:00:04 -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=@gmail.com header.s=20210112 header.b=nktI3+yV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230260AbiGLClI (ORCPT + 99 others); Mon, 11 Jul 2022 22:41:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbiGLClG (ORCPT ); Mon, 11 Jul 2022 22:41:06 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD0D98CCA2; Mon, 11 Jul 2022 19:41:04 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d10so6316561pfd.9; Mon, 11 Jul 2022 19:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=lDqoYU06M5qfjJNyMJVfxr7RWOkJpJykf6wQoyOq3/4=; b=nktI3+yVZ2upxobo1pYI+Imzvb40JntPSd+uVznnE+JDiZ3iqfgylh7IdheE417ReI 0ZJpKflv+wrre/BLrPhm4QrxaUd3LOGwvwHzkbu7H+1fNoleMTZTDhPkSukdQ3PUQ/KD juCfkcILprPT0MwHhmuOHfyicKcZori7Q384uxVes08GJTq3ofAq4GkB/P+dcKQNyhSn VtxQLkhJYWpiqxb45R3paqRoCG9hNEAdbQMIwIArDB+kC1uF0c3fP/q7PpXuVbVFKpg1 7fCoKDWpMVbjfUYwWIFNl9vyB7Rg2HqMO7tyZ/SEbkPs+j1g1k6+m5t1IpJ67AhI55rf WlnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=lDqoYU06M5qfjJNyMJVfxr7RWOkJpJykf6wQoyOq3/4=; b=c5Vx1VispoR8dbOpceTvpwb/T8YSt1Ui/j0TaPbeOkbJhVxT0MCPBu3v0Ot19Mas6/ Zs3bzTXrQ8D5Wa1z5QNkmSmZzFOqTZS+LS8Lm+L1AqpDgjWhHlD9pe8jjm2z4SoYkTm8 zR93oybayry4La7QkgimSwilG03LFcVoAjRVZOam+mc7vA2NnHpINIOUp3j0tYja86kX tjlEjFHC97dH5HmBHBK4A4mTt/JEW/7D/nBpWiMRN5TpCzhZwnpLJ4u5ZedTex3hx5bl o5i/Giydw+4uw1a424J64SmcLcnX1U/UoF4pUaSzlA3B2FwsgWQiL3vFeRl92xtxMnU5 OUog== X-Gm-Message-State: AJIora9yidsT2CujiQ1cy1uNu0BccDkFyWeBlcUF0Crrwsa0kjH1/iTA 5Nz2adMKuYP8HlxZwmFynsU= X-Received: by 2002:a63:5cd:0:b0:412:b163:b7e1 with SMTP id 196-20020a6305cd000000b00412b163b7e1mr18843432pgf.451.1657593664115; Mon, 11 Jul 2022 19:41:04 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id v3-20020aa799c3000000b0052ab9f1fe45sm5448189pfi.120.2022.07.11.19.40.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 19:41:00 -0700 (PDT) Sender: Guenter Roeck Date: Mon, 11 Jul 2022 19:40:58 -0700 From: Guenter Roeck To: Daniel Lezcano Cc: daniel.lezcano@linaro.org, rafael@kernel.org, rui.zhang@intel.com, khilman@baylibre.com, abailon@baylibre.com, amitk@kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v1 01/33] thermal/of: Rework the thermal device tree initialization Message-ID: <20220712024058.GA2308616@roeck-us.net> References: <20220710212423.681301-1-daniel.lezcano@linexp.org> <20220710212423.681301-2-daniel.lezcano@linexp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220710212423.681301-2-daniel.lezcano@linexp.org> X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Sun, Jul 10, 2022 at 11:23:51PM +0200, Daniel Lezcano wrote: [ ... ] > > +static inline void thermal_of_zone_unregister(struct thermal_zone_device *tz) > +{ > +} > + > +static inline void devm_thermal_of_zone_unregister(struct device *dev, struct thermal_zone_device *tz) > +{ > +} > + Unless I am missing something, there are no dummies for the registration functions. Is that on purpose ? Thanks, Guenter > static inline > void devm_thermal_zone_of_sensor_unregister(struct device *dev, > struct thermal_zone_device *tz)