Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp88834iof; Sun, 5 Jun 2022 22:01:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUgj6IDN5idTko5/rjN+CnR9n0rZApT8W47WvKne1v/uvlYOd1HPeblYo6gAqeFW88stgX X-Received: by 2002:a17:902:ce8f:b0:163:cc85:ba89 with SMTP id f15-20020a170902ce8f00b00163cc85ba89mr21886925plg.79.1654491690653; Sun, 05 Jun 2022 22:01:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654491690; cv=none; d=google.com; s=arc-20160816; b=AlcF/2BoGLZiDhFlGNqScs+oOli+bIV/1ecArUBnHT2SpY5mxodSdQ+rnnsiIddnc9 oucHo/Azt21SJLIgLA7DW5I1OenmGnRlR3yqQPyb8fIsVKTw68THXMYtZdCMICF8JW6p wx3DUXEjqg3bQWIpHi/d07AMxbZ4SJwbBFYgsro6p6zElqb5IvO9sr06T+MLdBMQHLa8 D9MjyBOk6AtY6qI3xHRtICsA7PPSDeNyN4WP4XuzxY4f2sLZV8WATagod2v9jdUwHMY4 vpe8gQuFgKIZQzuHHwFwL1OcC+vuzrba4GzHt9cFWK5/9SixeKUfudGOEDJa4glejZZb H2Vg== 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=ondmjgAxGqeDp2XUj67mZ5IMErGHUjY8POluActOZu4=; b=ICS+9QBN5zoBux5OIPxtdZmiMdrDer+DEXY4tmItfHwySLQWa6+1ajot3ffJsJIc8p aO0nK+LZKPpGxlPB+1zLaZxd9GRxVhgajT7OtGKWO/txKVXTfEAuI2oupK3zfCTo3DSl Kfa6h9lhLV661OuHNcsWULsWVt6Mwzpf0CNi4vNr9jU5+RBFCX7Hi6cgCCD1mUyszUwI +ZUZhJbQLB+v8RHqHqlOqUv0rCSHJGoWfCgYjtWfH3rNSh+/D24jYTaDJlyrUCcNBISm Lm4D34StjmDhI+Oy1/A6aLFDusY0utZPJ8ddG+4N49Chx1Ws0PBxdKKEmvJgxmbG0UCD F1lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=o15HfI2y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j62-20020a638041000000b003fa9aeadc1esi20119365pgd.182.2022.06.05.22.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:01:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=o15HfI2y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D06A813276A; Sun, 5 Jun 2022 21:15:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351605AbiFEWBe (ORCPT + 99 others); Sun, 5 Jun 2022 18:01:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233452AbiFEWBb (ORCPT ); Sun, 5 Jun 2022 18:01:31 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B2C4E0FC; Sun, 5 Jun 2022 15:01:30 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id v25so16517743eda.6; Sun, 05 Jun 2022 15:01:30 -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=ondmjgAxGqeDp2XUj67mZ5IMErGHUjY8POluActOZu4=; b=o15HfI2ya/YqfCZmacZk6vWWDsMjeMvsdoXSdUJUeHBM55SMmT/QL61V1qtYVrjI7l HJKmEOMSEapIR0SlBZoJcogMOM8TzSehrSQUhUJpIdVpX7B6vzoqLV/OI/a1YtFyoaGe WjP6aAGyD4EkZiwW9CDNhBKkvVZV8NJB161x1jWc/brVZhlsNPqQ0P9JLec0Xqs/tB72 JD75JIYfLRKop3mcUc3Qf+5xOq6zNbKWYUc5qdWUW9p77SlH6qr9nLO15Ftl5kXHwQj1 vPGXPJAlNUPwPTrdazKqOhcAazGWqPa3U00bbM3ye8HhsbUZx1V8V+f259OzKPQy8KhQ B9Ug== 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=ondmjgAxGqeDp2XUj67mZ5IMErGHUjY8POluActOZu4=; b=LeYyp0SlEQtuK/E24Wuxg99lsGLKDmuLvb8L6pML14os43VxppbSSlIdqMYEI6FQlY o2VBswcEMTT8U5/D+2+RpfEwyU3PTkPrj7An6Ep+VAHfDaqds9nuScqiZowFIhU+Ne4i FkY7fOahl6D6yTkC11tIlU0DXztuaEwzuqSO8znE90u5vLqWLDaHoBbR0d8aUgmCSiUH sVidxvaCsU75tDZcyqM0Ogd/e6FA9K58G36336bREjlNph6avfhkzKKpfoAyL7kKWx9I zwrqmfQHcpw837IOkeWU3RU4+QPd5sBJ9Z6r2Oj99bpHQkmX02nPZAtTdQhIKjci2gja 48ug== X-Gm-Message-State: AOAM531s70spy7E47s6dO3s8JzxXCK/Ih++nGceTEZcE7E9lwV1i+JQR s7vyD0pZmepsD99XdHaN7n6lZjgLPTX35bSr0y8= X-Received: by 2002:a05:6402:1488:b0:431:56cb:bbc5 with SMTP id e8-20020a056402148800b0043156cbbbc5mr3353146edv.199.1654466488698; Sun, 05 Jun 2022 15:01:28 -0700 (PDT) MIME-Version: 1.0 References: <20220603100004.70336-1-andriy.shevchenko@linux.intel.com> <20220603100004.70336-3-andriy.shevchenko@linux.intel.com> In-Reply-To: <20220603100004.70336-3-andriy.shevchenko@linux.intel.com> From: Martin Blumenstingl Date: Mon, 6 Jun 2022 00:01:17 +0200 Message-ID: Subject: Re: [PATCH v3 3/6] iio: adc: meson_saradc: Convert to use dev_err_probe() To: Andy Shevchenko Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Neil Armstrong , Kevin Hilman , Jerome Brunet Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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 Fri, Jun 3, 2022 at 12:00 PM Andy Shevchenko wrote: > > It's fine to call dev_err_probe() in ->probe() when error code is known. > Convert the driver to use dev_err_probe(). > > Signed-off-by: Andy Shevchenko Reviewed-by: Martin Blumenstingl