Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1410336ybi; Fri, 2 Aug 2019 15:14:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYuEa4DFg5M6nm4r6Rdh/2EujYcY/TZdij/st57mSr6G7EMmM8TztKxvIMHfCpFJLiKAS0 X-Received: by 2002:a17:902:28c1:: with SMTP id f59mr4382275plb.269.1564784088786; Fri, 02 Aug 2019 15:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564784088; cv=none; d=google.com; s=arc-20160816; b=dDdDUr2FprUrJGZSB+lWcu5XbSRqKskLmsSF70IXZrqmVY2dWeeycaFVbs61YomTqe NModw4CFHN4FmPa/XtnYr5rd7VGxSXSTmqA567aqZRduLGCtoTkPN9cYRp+PJecw/Xnq MnHNNs4vbReRdRsISzK1ATXC3dlQx8DF2ylFTWJrT6WSmBVIfjFrpik+zdGYgXcaBdYZ f/SrSp2zpwV9th8GoEr0Ox14g1A+eUijYdTAdTTodDtuBQa8JOlhZjVFEuydwxaCtA7C TF/dZqTe2ao9LhFNQXkThipvkLCIxk8u6rypYkFrVD88CR5wfv5wEwjPl9Q0WpipLySs +AvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=pNlrYKt2w0rYadkmnmxbThPIm+2FKArUpWAvev7xOOQ=; b=BvOuQGWWK3RqcZdDD5sIBf57ZHx/gbbPdXwUR2UOX8JsS1rPqeOARq2i6Tt0WFZCU4 NI5DfwS49bmvvdTui1ooQUjXOmBoiIdBRIeEPjnJgvdCosrvgN6SI2G1tKYmtN8PBZcJ rXM/JbvbiQbgx99zjNS2HSD4gJqk0JJ63eftcalp71iZ+ZpwN2GssM310TC1cpnzWkVO HHedZNjaq6CxbUgdslXf1nt4fKzg0ytWAZkz6CCME5DbnNrmCwVn+b/90rKsktfrEQPY pn2iMz09Y6mxzVQDr20decRkEsRum72l7jdPweJGBAJyRckl3eGKFf4cdC0sEwc1OT61 tBag== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z185si40617625pfb.109.2019.08.02.15.14.33; Fri, 02 Aug 2019 15:14:48 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392556AbfHBMNH (ORCPT + 99 others); Fri, 2 Aug 2019 08:13:07 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:38581 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387770AbfHBMNG (ORCPT ); Fri, 2 Aug 2019 08:13:06 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1htWQg-0007Z6-9a; Fri, 02 Aug 2019 14:13:02 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1htWQf-0006uo-UD; Fri, 02 Aug 2019 14:13:01 +0200 Date: Fri, 2 Aug 2019 14:13:01 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Schrempf Frieder Cc: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-imx@nxp.com" , Greg Kroah-Hartman , "geert+renesas@glider.be" , "linux-kernel@vger.kernel.org" , "linux-serial@vger.kernel.org" , Jiri Slaby , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v3 3/4] serial: sh-sci: Don't check for mctrl_gpio_init() returning -ENOSYS Message-ID: <20190802121301.br4y6554rkcqrcdi@pengutronix.de> References: <20190802100349.8659-1-frieder.schrempf@kontron.de> <20190802100349.8659-3-frieder.schrempf@kontron.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190802100349.8659-3-frieder.schrempf@kontron.de> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 02, 2019 at 10:04:10AM +0000, Schrempf Frieder wrote: > From: Frieder Schrempf > > Now that the mctrl_gpio code returns NULL instead of ERR_PTR(-ENOSYS) > if CONFIG_GPIOLIB is disabled, we can safely remove this check. > > Signed-off-by: Frieder Schrempf Acked-by: Uwe Kleine-K?nig Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |