Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1920610pxa; Sat, 29 Aug 2020 07:50:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMl5Dgtn5Q2WgQoJVxICBcFYnLaTUlkbYONN905sI1Bk6rxrhPaDu9+SGCsvKfAEZOkKC+ X-Received: by 2002:a17:906:780f:: with SMTP id u15mr3979923ejm.259.1598712608962; Sat, 29 Aug 2020 07:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598712608; cv=none; d=google.com; s=arc-20160816; b=zZatEKD22YnVh+9buqvE4U9X6vf5USOTnIhDFZtT5irnbCwEo8IrtlnihgS0EC4rKe /2YSQgWiEiIAAsWYcQTN0wT9CJrzUBlYeGphsk9MRNIokPNLRYYL7w0es/vjAmtiLIke 562Zolo0eTlZewzhGq10IsTCHQOE0w7S3ErPmfCkCyNveu6h6V/80HFVGNJ9hv37fVrZ JS5SgVWYXf3MSHywTo4biIUrhUikbAc+d3axFXX9zG//X8L+DwdKv9Pb3mIRuurCrTWn B1Ltj5w18PXaZJXhN+pEclcZwvg29HUFPCEPuxoyFHl7tNhnVQVlhLKK3iQvIWxpvsTK bgJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=b/qCN7j8tb2VUbSrI7tBTv/xuxn0AqjD1uWSjfTSjT4=; b=ZPyLQqGb389/BngbKCDl7cGhsItbOFho8cjc224A8ZTmPlBZkg6DaQf7Y8SV5YVzQC 9ijWMYC+pf9FGtp7XmegUnRfX91S9TL/zCCl+bWT6UKXDVEh5DkXIzI4rz+d1v//I5JU /loetIu/YyXPz7fYKd1CpIe8S0Eg6sXZHUGGZPK3qFjfvO0jT7a0jsBg6XXf9MWmpcbA ib0CYVcGALmDU/JjSXQbs0odxgJUO6eMFLlT8VOX7MOaC0Xu7jrOG69en3WCHyefkuIs NGgupE+6tYmzURqTR5nPrK4UjPzgSV6Iaw/yY9Kzfg1xAxkuB3G9ZTKrbt69rsYQAaQF oVCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=hHbur1rs; 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 v19si1803231ejf.83.2020.08.29.07.49.45; Sat, 29 Aug 2020 07:50:08 -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=20161025 header.b=hHbur1rs; 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 S1728191AbgH2Oss (ORCPT + 99 others); Sat, 29 Aug 2020 10:48:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727772AbgH2Osq (ORCPT ); Sat, 29 Aug 2020 10:48:46 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BE0DC061236; Sat, 29 Aug 2020 07:48:46 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id ay8so1651064edb.8; Sat, 29 Aug 2020 07:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b/qCN7j8tb2VUbSrI7tBTv/xuxn0AqjD1uWSjfTSjT4=; b=hHbur1rsCmRq/5XRl3unzdV1tt10cWSYSErINzv3YotSrO4cpzSxPBIZJ2F8a/p32y EbtjHtBuQMT/xnw1bnaezOZ1tZ1Y9WFE9e6+e3Gf8QQSqDHzcBWhyDMXhaBBzEOtJCJU dqIIYRY1M1LPLrByw0nz0/WJmEAEMMTHuU3scdguAfue9jBMtfmdRg+szVvVqmjfcc/T dtYopwsHvM5tIAyofaF/KHVMrxQEyw8Vw3BB3mONHh1jgQSMvvFUzz3zh8ZAwQk88kVq BlIgeLZ5FoZJGig/TL19ACCrjD9laRdwz9auEmT5qN2ItBU+IlMD/NOdsLSTkEu/AAJN VIbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b/qCN7j8tb2VUbSrI7tBTv/xuxn0AqjD1uWSjfTSjT4=; b=DgvpB2sjNFJpP+3qXKtS/8jDyZSxTtsSebXnp1ZwP/3A3iww/aTVAWU4DltCCqMa9m 22od24eNqJbhXpDX84S9wKIQ9j98CnXqZ38kd+kFV0LLQoXZZXeSvov2/jNxDua8xOfj szqzizPjsI+wFbTyx1neZ6ETZUgHfKBprMAmLultbBKPY2eEv3bExymtEUQHjevB9Ghs CEo8Wyw6rHJX02cdlw+Dd7d5Mqq6zS+9mUbTobfqhHQoRng1lsWslmSiP9JeuQFBwMT1 3sc0yuZqVppXB70faOKCHhJkpsfnw3+aGM0jFUXAFmpwBtA8RCfs0AyMzBoNiuv2TApJ 9TIg== X-Gm-Message-State: AOAM531nrvAjBlctb3iVC6zVasxrpFD7zyygq6iKqotJ/eMR7PgISSbD ysz4w6gWebqDz3o93Ymrxq20fME4p4fb9hoP6QM= X-Received: by 2002:a50:fb98:: with SMTP id e24mr3048905edq.130.1598712524689; Sat, 29 Aug 2020 07:48:44 -0700 (PDT) MIME-Version: 1.0 References: <20200829064726.26268-1-krzk@kernel.org> <20200829064726.26268-6-krzk@kernel.org> In-Reply-To: <20200829064726.26268-6-krzk@kernel.org> From: Martin Blumenstingl Date: Sat, 29 Aug 2020 16:48:33 +0200 Message-ID: Subject: Re: [PATCH v3 06/18] iio: adc: meson_saradc: Simplify with dev_err_probe() To: Krzysztof Kozlowski Cc: Jonathan Cameron , Lars-Peter Clausen , Peter Meerwald-Stadler , Peter Rosin , Michael Hennerich , Marek Vasut , Tomasz Duszynski , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 29, 2020 at 8:49 AM Krzysztof Kozlowski wrote: > > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Andy Shevchenko Acked-by: Martin Blumenstingl