Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2075819pxb; Sat, 2 Oct 2021 06:08:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWjZaiBAnAw8JVxyPITLdbsUa8ZcYi1ejUq7cnb00YtZbCF+h8nK3IAjYlcZHvwcvQcsC4 X-Received: by 2002:a05:6402:3591:: with SMTP id y17mr3940687edc.343.1633180110625; Sat, 02 Oct 2021 06:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633180110; cv=none; d=google.com; s=arc-20160816; b=XdT1J4t4LgH9hjYpilAEI8j7BPqWPE/HjuKO0jWnHqgJKXFDjlO1u/cQ9BWrASA5IE yLPGF9QA/WuPBL9jOysgcZG8sIcOuEPskC5txw8h5oDrsZI22oAAHwmI9NoGRV3pIOW9 5eXW9rwC+Rr/UkCq8E3eXwGUvzi22SxSMyu6Yysn9tD7dH+C4f8dVFXvCxxo09AbMCuF qtts7YM2bydSGpCZWdkyg8NFQFUDbTqNZeua9YpbjqM4x9XGj1tQ9b85s3nFgi1WLRUZ V7fiWlIe9RkdX3ZKzrOyx55WQ3MyBJBuswpMG71nTSpFDGPjz5pWTw9HPG2Zi/buE5w1 mHGA== 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=ndllisJpfri3hb1olUYJenRfRB5AbrAxzqRPTi6j654=; b=DCidi6M5gjvX9U5u6dljEVtneQQAGynG2nfSyqLBOHXWm4ec+KxAlGeJt9E2SIjicq AkDrmz5udoHfdxMGaUVNXqu6XW0KbQKLrTTXEmWe2It9UDzOFbcCvDmHYN1fu9fjEhNy v5a/APcAESvR68y2f9XRaqcn9TzL0oYVGg/iAQNGjlwMtGbEd0iPxjJg7JNniKVuoJ7w gNuaqIiei6HqNBZdDO7HGNjX2MuyuuIhf3t9q0Vk7MMiUWD1uabb0SHF0jOt7JSTkl6j g8FV5xtYcrGZ8pgvldgl9NuJXlzf4y9OiFm1f8aq0HhHoO8BtB++NWNI+mSsYAPcxWE3 awrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b="kqogW/uh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di4si13205344ejc.505.2021.10.02.06.07.51; Sat, 02 Oct 2021 06:08:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b="kqogW/uh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233241AbhJBNDz (ORCPT + 99 others); Sat, 2 Oct 2021 09:03:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233093AbhJBNDy (ORCPT ); Sat, 2 Oct 2021 09:03:54 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85816C0613EC; Sat, 2 Oct 2021 06:02:08 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id x7so43724010edd.6; Sat, 02 Oct 2021 06:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ndllisJpfri3hb1olUYJenRfRB5AbrAxzqRPTi6j654=; b=kqogW/uhlIxcQTtD4H2CvFfmWs499lz0u1RvmeXfGNfCXzcR1fLHhyhYSUUPun0Pk7 elB8dK7MWMXVNYG1sM3lSVzYm84IfwbW6A6MloOSCJNCMmnZq9Tqh4BnDtNoOs1bAKF6 wBC2zpt6CzqqbmGX5mDKOiXEUh6H40XskQBGw/8ib8WRRPitFdeFTGSnh1ZefUjcfUy2 zfqD766y31hlg9/8TY/Wc7D+jfnsp1Ch+rrWU3/+nWsJ5VYXAl0aFVaO8VFjzmajU9zq AlNtQBmAwmlPMp8eKnLSL2ABkE7mSkDFivB1+MrKnfl8bnSoLb4uPJ4SakEzJkkOE3EE rnKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ndllisJpfri3hb1olUYJenRfRB5AbrAxzqRPTi6j654=; b=oW35YKfH1z4ErilKfFT+oyOp/PLKdcUAOCDiyGknezb660AbZ+mfAiXdDL2bpscmEi /H1ckl8hz1bj7ArdYhIJNZ14lZn/SDOOF4CjULz8W+NR98fmXVfT3zRmYGr4anRr6yuZ NQi8ZqR4Gq9+zBDJHfI4al2lm6Plz7Giv2MW1SDRdmUaEqx9oVjHOi9bzzDg4thz0GE8 2r3I2Uq6B/Ig6Tgm1D6+rQFYwOjEEAi0yxlvux9WvrYlntphUwWngQHMjJ84q2XlIx4a 0eFvBvUhMb7qXbAVpF1e61kEyVk4vXLNrvL6Nw5f2HWpyjwcJVKWwDRjbF/+ZeTJauhG BhoQ== X-Gm-Message-State: AOAM532so8LKlFRUEuszngkClUJ6KdpW6ieaBfueieuysbqOaqqPO3KI +goRbIIE4FilonTrXHzFVrbrm1wsv8ARsnI8+Js= X-Received: by 2002:a05:6402:1848:: with SMTP id v8mr1215860edy.0.1633179726993; Sat, 02 Oct 2021 06:02:06 -0700 (PDT) MIME-Version: 1.0 References: <20210928141956.2148-1-caihuoqing@baidu.com> <20210928141956.2148-6-caihuoqing@baidu.com> In-Reply-To: <20210928141956.2148-6-caihuoqing@baidu.com> From: Martin Blumenstingl Date: Sat, 2 Oct 2021 15:01:56 +0200 Message-ID: Subject: Re: [PATCH v3 6/9] iio: adc: meson_saradc: Make use of the helper function dev_err_probe() To: Cai Huoqing Cc: Linus Walleij , Jonathan Cameron , Lars-Peter Clausen , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Vladimir Zapolskiy , Neil Armstrong , Kevin Hilman , Jerome Brunet , Andy Gross , Bjorn Andersson , Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 28, 2021 at 4:20 PM Cai Huoqing wrote: > > When possible use dev_err_probe help to properly deal with the > PROBE_DEFER error, the benefit is that DEFER issue will be logged > in the devices_deferred debugfs file. > Using dev_err_probe() can reduce code size, and the error value > gets printed. > > Signed-off-by: Cai Huoqing Reviewed-by: Martin Blumenstingl as well as: Reviewed-by: Martin Blumenstingl # Odroid-C1 Thanks for your contribution! Best regards, Martin