From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41119C4708D for ; Sun, 4 Dec 2022 16:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230158AbiLDQfb (ORCPT ); Sun, 4 Dec 2022 11:35:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230140AbiLDQfa (ORCPT ); Sun, 4 Dec 2022 11:35:30 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA5AB12AFC for ; Sun, 4 Dec 2022 08:35:28 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id ay40so385966wmb.2 for ; Sun, 04 Dec 2022 08:35:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=NgLhDQ3h2DNCcZbHVmbcSC5B8MM10iPbjjewq19xUhY=; b=utdfQjoTjOR9N+XaQ2Qv2LTPvXuptLuZoXE7gCcyliPDPCcvRtUZdpqvYrIpofvM4B QCV7v1Mq4k9UtJGk47ug34+HaArgGw8pw9pNQ6j9+lw0bu0yYAVdp0m8L1dgXgg2RwbH g6WnsLmwID4JfY2FKOVFpDp0r5c+RNuPmtxPV1xQ/dV4GjXRhVA8Xri7gCcnQk93ZSG3 rDtb8UvO4Tcxlzbp1EYZ7CUK+ZjTyaYkHmYkh/7hB9Fq4T/9te8oSgd3XyKmYIaloN9d 8J9iivJMzFrf4F9hmxabFiamZtpNspqNgmy8SfSJe4C0kahpOlSip+8JAdCCyVep7XC5 UhLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NgLhDQ3h2DNCcZbHVmbcSC5B8MM10iPbjjewq19xUhY=; b=5Vu7YLi0h3KmkfBIcL6K7x0q+ZIBDWVnU8Q+pjd6gAPhJ+gXSthVCZcP9q4NTgMQcy pBpY0lNN1SLsGNoJdhqNDhC3euhZ5aOlv5LmWzZM6lQR+xnM8r7SzDqaL5I3bK9kcBZn J5WsLyWfmZlzkP1MKCK134KiT9BGUn+Uhz11KlqMHGlD2XTr8G8IdCVzUmvN4GEE0o3g /myRASi7rJodeqtrGZpwdoIqeguy1wqDD0mbZ1uzBGe9yeUHZzaU17+Q1h8p69QTnSev wWlDNGvNy24TCmkV2q5I0Y3hjeY3lYw71tq/FC/njhuoDxBXojrmCUvVwkYfvEr/hQhr 8BUg== X-Gm-Message-State: ANoB5pk4UGqCK+nsORrM7u4RcXC96JyyiI7xnTC+9Yy85xDkfCFctUmI AfTXVh0F8vnh9xD4fPgvTWUBYg== X-Google-Smtp-Source: AA0mqf6EVGXn/Sj7OVJ0ZDHDfgC87RfINcdRrP03nB3j4eUlNnMon615Cihs2rX7n1UO58Y2JkEKXQ== X-Received: by 2002:a7b:cb97:0:b0:3cf:ac0d:3f80 with SMTP id m23-20020a7bcb97000000b003cfac0d3f80mr43474835wmi.185.1670171727279; Sun, 04 Dec 2022 08:35:27 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id k4-20020adfd844000000b0023659925b2asm12293231wrl.51.2022.12.04.08.35.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 04 Dec 2022 08:35:26 -0800 (PST) Message-ID: Date: Sun, 4 Dec 2022 17:35:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] thermal: qcom-spmi-adc-tm5: suppress probe-deferral error message Content-Language: en-US To: Johan Hovold , Amit Kucheria , Thara Gopinath Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , "Rafael J. Wysocki" , Zhang Rui , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221102152630.696-1-johan+linaro@kernel.org> From: Daniel Lezcano In-Reply-To: <20221102152630.696-1-johan+linaro@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 02/11/2022 16:26, Johan Hovold wrote: > Drivers should not be logging errors on probe deferral. Switch to using > dev_err_probe() to log failures when parsing the devicetree to avoid > errors like: > > qcom-spmi-adc-tm5 c440000.spmi:pmic@0:adc-tm@3400: get dt data failed: -517 > > when a channel is not yet available. > > Signed-off-by: Johan Hovold > --- Applied, thanks -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog