Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1867831ima; Thu, 25 Oct 2018 06:18:22 -0700 (PDT) X-Google-Smtp-Source: AJdET5cOfOJAJHZQsvPSLeBnXmTFi/sasmtI13DQJ1qNpSb8MRA03WfyGqL2YzgxzwxUDMXvSI8A X-Received: by 2002:a63:ea07:: with SMTP id c7-v6mr1366990pgi.361.1540473502372; Thu, 25 Oct 2018 06:18:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540473502; cv=none; d=google.com; s=arc-20160816; b=H0RFk6O7uiCI1IMwNeQJZMbBODEYvKoRSaVNs4SFxTN34GrhIinUGPEEmaQUK5Un8l eEZ4HEjjtplvEUjeZtdP2MGz/To8sT94M0ZAq9/k4EvThEOdsSkrZJCY1uA7GyFo/zcu ansV703cn+E9Pky+pNsVDX/CjFdJQRE6kysbuikVxTxO7NB70Ukupy4nXLwWtA/p/oDF Gt/K6IxOD+UwJG8BlUuYJ/JKTw5l2vD9WL8r+00A4Fbq6qwDXhjGG2oCEnPq6FRgG511 NRPLf9bGAS9hBLXu2ainBcdlYAPtXO0dyZ1EVpg01Ia/VgSOlVRsEbu9jcU70geNMJBT P3Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ermwwAUBVluDYY0Vg6ppcJ0gR0rhgfM5GlTdq4r0BF0=; b=WhQSpifsLvQOy4X83Yz17SIacTT896Xn8P5YNCUuVxTM0V498021jcrkP//TeQEWFI J0YvGd/ekwBQW7ShnpymKKLjvj0MQXA0yf74chhGHxAtbLJQlwA+h/mT+mcFWNZoOEJt GAO9EyQH49ssrL5g1Fx6LZGQ9xxZ6mM2g+1FpCjLIqys92zWVXymMeI3rBS2oZci9tAC wxSza75WhLTEh52jOGeBoL1igdxAEyUcGdWIBupKHVZLhsvNUjFXHAA2NZmlBgac8RWA Q16X3IUFYXHhuNbjSxQuQGw0O6q+An6Z8NLKCZtXQmP6A4ITRM8N6xvQhEDfGOIDkGe8 59CA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1-v6si8556750pfx.105.2018.10.25.06.17.50; Thu, 25 Oct 2018 06:18:22 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727450AbeJYVsK (ORCPT + 99 others); Thu, 25 Oct 2018 17:48:10 -0400 Received: from mga05.intel.com ([192.55.52.43]:43838 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727125AbeJYVsK (ORCPT ); Thu, 25 Oct 2018 17:48:10 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2018 06:15:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,424,1534834800"; d="scan'208";a="102592435" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by orsmga001.jf.intel.com with ESMTP; 25 Oct 2018 06:15:24 -0700 Received: from andy by smile with local (Exim 4.91) (envelope-from ) id 1gFfTv-0003Nh-5x; Thu, 25 Oct 2018 16:15:23 +0300 Date: Thu, 25 Oct 2018 16:15:23 +0300 From: Andy Shevchenko To: Lee Jones Cc: Dan O'Donovan , Linux Kernel Mailing List , Mika Westerberg , "Krogerus, Heikki" , Linus Walleij , Jacek Anaszewski , Pavel Machek , "open list:GPIO SUBSYSTEM" , Linux LED Subsystem , carlos.iglesias@emutex.com, Javier Arteaga Subject: Re: [PATCH v2 1/3] mfd: upboard: Add UP2 platform controller driver Message-ID: <20181025131523.GY10650@smile.fi.intel.com> References: <20180421085009.28773-1-javier@emutex.com> <1539969334-24577-1-git-send-email-dan@emutex.com> <1539969334-24577-2-git-send-email-dan@emutex.com> <20181025110505.GA4870@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181025110505.GA4870@dell> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 25, 2018 at 12:05:05PM +0100, Lee Jones wrote: > On Sat, 20 Oct 2018, Andy Shevchenko wrote: > > On Fri, Oct 19, 2018 at 8:26 PM Dan O'Donovan wrote: > > > + ret = upboard_init_gpio(dev); > > > + if (ret) { > > > + if (ret != -EPROBE_DEFER) > > > + dev_err(dev, "failed to init GPIOs: %d", ret); > > > + return ret; > > > + } > > > > I don't know if probe_err() helper is going to be a part of v4.21 > > (which this series targets), it would be good to use it. > > Interesting. What does it do? The code will tell better than I https://lore.kernel.org/lkml/20181017132205.5204-1-a.hajda@samsung.com/ -- With Best Regards, Andy Shevchenko