Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp527611yba; Thu, 16 May 2019 05:02:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdcbWy4A7NMrs8aLD18fXqAxuNTMIDGdHqYethyq0xO9YpoCaVopRXeCWhh5f3HohuMgTP X-Received: by 2002:a63:3e41:: with SMTP id l62mr11428976pga.383.1558008169452; Thu, 16 May 2019 05:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558008169; cv=none; d=google.com; s=arc-20160816; b=vjTrFps9c3hwuRrAV8cYPNLK1L2Vo01vzQQ1ClNB4sLLV4O5XxAE+DPpvtpQf9Sulf e+3a2Da4kQOZLgd0Up493eDsWdITLQC6lOT9/x7NhXVK3i2l2HQi3Y1Nxis76raos+ud cZmSIAZgPMjv/hSBn8pafD3uiMbr6SWBbghRzWGuYXXM4P6QyHpyc8enaWaZVcH6UkBP VzHvH8338KfHTp6d9Cs3mpamcGaDf62nd4zTJFusZsOUXd/TaJMMLeXu74KZeYBxOrEs XLfPkVF8JM6FavX2at4VwNVVQ32qHsbujmF/NhV1D799umKnTabEtjbDg/84ZAYVQjsX 5Vpw== 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=HQOMAI84PZC0+DOegMD1ITt0MKv7Ak8ewW8Etm9lkUA=; b=s8yfh/dowWBGMKyaF+qkxt1BMpv4/5kn26YHpgNny5ko2R5K+R0kBc6JZ7Jt4iGhkO PpNSo8ycJcqTnN5j6osxsKlpcJwdpunlPlOHD5rtzWwyKjLd3gqy8jNty+0BjMdzofT0 ttjCLjoZP3CBI+5++TgF3YPZZkuHp5D691T2+pqMYhjiD8GS9URUDERH5qKC5YECGf/d UN54pAq2niTm8kR7jYWDox3ve72p4/ZKV8oqeQ7clMEg7dtdc7B6KrDbNNHfBYlwWyy7 qY6owCsUwqSOaYBOe4eayaD8aEa1tZcFhavfr0WUBfx4HKMSArEMjbgBwvFP6U7LBkXJ KKBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BKV5XUrU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id m12si4649197pgv.586.2019.05.16.05.02.32; Thu, 16 May 2019 05:02:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BKV5XUrU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727556AbfEPMAZ (ORCPT + 99 others); Thu, 16 May 2019 08:00:25 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:45515 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727278AbfEPMAV (ORCPT ); Thu, 16 May 2019 08:00:21 -0400 Received: by mail-lj1-f195.google.com with SMTP id r76so2801033lja.12 for ; Thu, 16 May 2019 05:00:20 -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=HQOMAI84PZC0+DOegMD1ITt0MKv7Ak8ewW8Etm9lkUA=; b=BKV5XUrUWOMwueeRMWBchST5WvqZHM/NtRV5B0YPoEjo6I6spgwvU8qLG+o4JSIM0o b5gqWR35P6H9JsEzpk+g6yBI3JFTkP9cQHMHOaf/tD18SLlVdkPkTpH4ZSkc7A4IEyc4 n/CLdvVAQ8fsM3drNPN2LdDMQdHGU5z8vX2K65sEzb19qN4Tz5YpiBCSC1SiryKKz35F U7Z4vH4IedkRwZ2DX6OSLp4lpJ0kHhC2R32nQ2EjtMrT0smDBybpstccZDvHw1MqKuXB fi3IkL5WBAArrYUKAr9I+AHokO+s76ktwYZm6sb6JIFUd2LNvdL+4RyVh05L2D1ex7bU wIGA== 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=HQOMAI84PZC0+DOegMD1ITt0MKv7Ak8ewW8Etm9lkUA=; b=VfmWZgD/3DptfmREQ2i4r224FN+VyaLcoUBbPeEHz9fM/1+SceP/uv6XMmplqhT4eI AlFfgTcJrEt3eMs8KlSl/TudoUwKTYjYCqzHAwkGY3TexHVU9cXgoWftwvOp1R5BWX5P ICct1Vs4ItGl2dw6py7zM34Y1Q3q47bsoaDoVF5378kkKyBzVG6Tq/cGra6++5OWU9cM Ur54mwtKr3D+k3skvNUzSPIlnYJYGkM+MqHprLy4KaIBl23HnSvlSROL0mdIfdv2SGD2 VoSMEaTy6fcsa9gr9cZBaHsaAC4qirodm/3UV20kxpo/BuGym0rRVQl7MZ9RZnwO2dG/ 6JjA== X-Gm-Message-State: APjAAAXWZD8oZAUprDV2EjaDJK6TyoRiIB9mfVpr0D0jw62aIJDn0hWA oif/r61/c5eoGzGPhCjaBJhsuBhhPK1Sjo7hzBhVQg== X-Received: by 2002:a2e:9a4f:: with SMTP id k15mr19438972ljj.159.1558008019876; Thu, 16 May 2019 05:00:19 -0700 (PDT) MIME-Version: 1.0 References: <20190429054948.9185-1-andrew.smirnov@gmail.com> <20190429054948.9185-2-andrew.smirnov@gmail.com> In-Reply-To: <20190429054948.9185-2-andrew.smirnov@gmail.com> From: Linus Walleij Date: Thu, 16 May 2019 14:00:07 +0200 Message-ID: Subject: Re: [PATCH 2/2] gpio: vf610: Use PTR_ERR_OR_ZERO() in vf610_gpio_probe() To: Andrey Smirnov Cc: "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski , Chris Healy , "linux-kernel@vger.kernel.org" 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 Mon, Apr 29, 2019 at 7:50 AM Andrey Smirnov wrote: > Simplify error checking code by replacing multiple ERR macros with a > call to PTR_ERR_OR_ZERO. No functional change intended. > > Signed-off-by: Andrey Smirnov > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Chris Healy > Cc: linux-gpio@vger.kernel.org > Cc: linux-kernel@vger.kernel.org Patch applied for v5.3. Yours, Linus Walleij