Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp852403pxk; Sat, 12 Sep 2020 02:28:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4dSIQoCGtXeuMi+ccltQqScd9dPjmjdXXBD9IcE1puDyQm7vE5Msr6/o34N6uephbB2ub X-Received: by 2002:aa7:c444:: with SMTP id n4mr7326017edr.200.1599902883687; Sat, 12 Sep 2020 02:28:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599902883; cv=none; d=google.com; s=arc-20160816; b=ZDvOHWOhWI+ZLB0Up2qibOV5Jh5DoUVSAK+1OZwoc51YhcIiw9ga79Hwr5JARKVl3+ QFPF3nhdr7BZykeb6SISBm0VdLYvU9RGSkgo09gPrFd6PAOFhtb5DWAHJiT4/7X0aoAw TUg2Wwsl6UmQxTohunSxtKOu259vuf14YgWv5Tp44Fs3uaUVIrDR8z4EBSWzpj05gT2V eVTD80us7dZIIfbrftd5Es7W973O78z/iymOsTbh6CzjdqWsZCCagZROrAfwliSXTzBa wqgCc20K9fHi0Lx5iLN3+qvyAs4XniMIlrAHWXaw1LyMiERM+1TAx6mB6mH+HojPxYrq Gp7A== 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=S+48eoB8+wThondXw2toHob0ZQwe3LgTU2CE7AlUBMM=; b=SdE9LRczlA1LLn28MXBAk4tTq6rcXiOqYHTqAIk7TpSze+cDxYZ5mmEVMw9mf9gsDQ H2J0OFYJxfCqwbBR6tJcfk/5mpBeam5KAeQPTq6IXvEgR1KvHodNDvPlws4TXASTnn7u 1uHvt7EmJDPYC9tA0YdhWywmHbUiOYGO8FCG7HAmvyZQYXCBzfyfBGKw4ZkdXuw8cLob qMhmO1uZELPF2RybeAEHxDWgVzYQsuVO9U44o0ZRXsXcodRXYXW1BZtg4Z5p4BVmhngX qpEwCeyx/KSTAmw0v2eGp4D2d2Z2Wyx6eTULSF3aeDSLAUsZnQZKds6Ty2+6BNINXNt4 YMfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OuRWaG40; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sd28si2998015ejb.302.2020.09.12.02.27.40; Sat, 12 Sep 2020 02:28:03 -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=@linaro.org header.s=google header.b=OuRWaG40; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725846AbgILJ07 (ORCPT + 99 others); Sat, 12 Sep 2020 05:26:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbgILJ0x (ORCPT ); Sat, 12 Sep 2020 05:26:53 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45494C0613ED for ; Sat, 12 Sep 2020 02:26:51 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id m5so8296543lfp.7 for ; Sat, 12 Sep 2020 02:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=S+48eoB8+wThondXw2toHob0ZQwe3LgTU2CE7AlUBMM=; b=OuRWaG40whjIBcB91iNEvAaHGH0XDNk5AXjxsFd+lICwB8++pB5UsygLg6jwo/lL2A qd53HqFUUnm3cDfBUscBkRR1u9VdxLP7qcflg9bAFk0JXmup6OrDzfQpQsCOhL9SY7XW vR0VT+2T1bqV19wiKfCyC3E9Nx/TcZ88mR8/c8gXF0yduk3xdoC/Ir50d7AIkuzKUjUy 4F0dMDAIYUEth89uoIqHYVdc8C+bdXJyz5JmcupsoZY0mzUstYXOqCoD/nN76FZS7ImA lJD8JSIjMf3V+xJpzWOjcQptKuobR+0USHm2aAa9OpznGdsOHeTJ6ZJVdmq+wn0U96tO N3jA== 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=S+48eoB8+wThondXw2toHob0ZQwe3LgTU2CE7AlUBMM=; b=gxPNd1Eacd01lDRMWTYzA3CwDioL7DLY+uSuG2GLprzxBoiC1xughkYgvNeKupc7qC rGfEn0xzHBDNWGvDZgc+JL632yMVJNtk+PrlJf1mJdB2m5p37rY/pDVbL6S117ixhrCT yXrgr9dnAHqdT5o/gEjlKZwNDNMyn7V2IwglxM+AvyAgQTWYzej971Tbuc5TR5urbLDZ 0avocTeUzXGGhXJRLOWAXpjsDQPslwDYEmK+zx8C24tb0oLTWBgq48XgLTySn+LEUf1X eMKL/rhz/47DgsBIr+hm77FXJwpRhViya2Gtntc8/dRUT8ZYR0nyvye4UZh/m+7jwnKf yfTA== X-Gm-Message-State: AOAM530gk7I2N6fK4UZKm3TziG5xo/sU9yxNukGkh/ZU4aJjSoORfqC0 sKV6RBjQiiUjrargxAB6g0+y2DN5qikPcosClHSLnA== X-Received: by 2002:a19:520b:: with SMTP id m11mr1331733lfb.502.1599902810277; Sat, 12 Sep 2020 02:26:50 -0700 (PDT) MIME-Version: 1.0 References: <20200827200827.26462-1-krzk@kernel.org> <20200827200827.26462-6-krzk@kernel.org> In-Reply-To: <20200827200827.26462-6-krzk@kernel.org> From: Linus Walleij Date: Sat, 12 Sep 2020 11:26:39 +0200 Message-ID: Subject: Re: [PATCH 6/6] gpio: zynq: Simplify with dev_err_probe() To: Krzysztof Kozlowski Cc: Ray Jui , Bartosz Golaszewski , Florian Fainelli , Scott Branden , bcm-kernel-feedback-list , Keerthy , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Michal Simek , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Linux-OMAP , Linux ARM 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 Thu, Aug 27, 2020 at 10:08 PM 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 All six patches applied! Thanks! Yours, Linus Walleij