Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3780926ybh; Tue, 6 Aug 2019 01:12:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIsp2XNGhBcy5Yllt5kzJ3jVMbYjeoS83bR0WLNaw+Gna2cKZ7tc6SOPZvUcBiZh9iVTyn X-Received: by 2002:a63:5920:: with SMTP id n32mr1855550pgb.352.1565079126058; Tue, 06 Aug 2019 01:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565079126; cv=none; d=google.com; s=arc-20160816; b=QYk6P+c/qWdviQ8ydp6xUgup7W9nxmVyxcx9rzSK1w/ujna8dfy8Z0V91laehZJt5+ 05AqwXQ8AG1JdRv2Sus2XZ2I7Hq6Jh2N/En356GEf00PR9NQO0ZL6t/snwT3EQuFfC9P 2A+b9BHZzk+scZ2Rzt6SFKTqso/b3q5B3RLPbhTaCGsUNazuqe60w6A2OXAmEc2uZyKE Q3794xNQpagaaXbeOLsTGseCyBBSZHKUjn9hqtq+yd0xhnvRB/zUvmuozOhqaTgKr5Ft 5k/rG8cVOKZYcAfVK5eYt81B9U082/xi8SnQRCDCbciBc5HgPm//bJNLNuudJUJD3kxf 4O8A== 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; bh=HI/+7QvjOEEoVFOc4ETmV3V160VHifVAi0bhs8u9DNc=; b=KXwdHeVB991cH5diElhkHqWpGvTJCHQfeqGwqJRZx3Yzu34gjDvYRUznMeXscZnBgr XMsDL0CaMEJB578RAOqn9mnWWIn7+CxaWDkSl0AQQhVPfTTzvMoZHPamrqGLDPePJ7VP tA2hQA1Zz45CLOhN4RtSZ0QS4u5KYklIjBv5dV9PB8owgr94BvttK8w5FW5aEg0zAZSd EHmek2g/YcHkTm99fgKQ/RQCU/cM2iw+2MZZF+DFiYfzIQKi8qGTPfX/As5ZEODS/dW+ SPuNtr6IaDEEYswCL2n0O2ToEPmR1weA5tavuPRH5qsQc0OWwdMqh68vtQcSgaa5IDMf 6YvQ== 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 6si18053133pgb.201.2019.08.06.01.11.50; Tue, 06 Aug 2019 01:12:06 -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 S1732187AbfHFIJ7 (ORCPT + 99 others); Tue, 6 Aug 2019 04:09:59 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:45192 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727259AbfHFIJ7 (ORCPT ); Tue, 6 Aug 2019 04:09:59 -0400 Received: by mail-oi1-f193.google.com with SMTP id m206so65316807oib.12; Tue, 06 Aug 2019 01:09:58 -0700 (PDT) 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=HI/+7QvjOEEoVFOc4ETmV3V160VHifVAi0bhs8u9DNc=; b=UYwidAN0xHPrmfsQe1KwrXow2KnQBEm63yvsRL61+T4QMyWhjbpPiyYx4A55H/kdt8 Kd7zZb2TIzbbjQR/jsjkaHA0su3r1DaKvNEyav0SEaaaWIMKgxRafbIj0UV3UPyFGidE shnBgAxpCSBtT6NhZDfb2OVwFD3/nzYnZ4P7ifab0W+NYF8ARlI2QmnPjCQCrCn/nInd jS/4K5IodgOd6yoFIuvnv3QGcMAT/1SBuJg7KMjbpwrW+vRiZhiqDp6TVZF2sALfYquW rhuSsnCORkDKdpkW6u1p4tRodr35h4eqI9uvzy6tZvOoXHXQ05t6oPSBIznWgwmQnzta Gz9g== X-Gm-Message-State: APjAAAVQz1KgaPOzxOGq93ik4lF/m4nS6tQNvJ59cVbWjwkBoImSPKn8 py7N0bjI/BCcp7EFNcGBRye4v5+R4LuS/VCGGLA= X-Received: by 2002:a05:6808:3c5:: with SMTP id o5mr1824672oie.102.1565078998482; Tue, 06 Aug 2019 01:09:58 -0700 (PDT) MIME-Version: 1.0 References: <20190802100349.8659-1-frieder.schrempf@kontron.de> <20190802100349.8659-3-frieder.schrempf@kontron.de> In-Reply-To: <20190802100349.8659-3-frieder.schrempf@kontron.de> From: Geert Uytterhoeven Date: Tue, 6 Aug 2019 10:09:47 +0200 Message-ID: Subject: Re: [PATCH v3 3/4] serial: sh-sci: Don't check for mctrl_gpio_init() returning -ENOSYS To: Schrempf Frieder Cc: "u.kleine-koenig@pengutronix.de" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-imx@nxp.com" , Greg Kroah-Hartman , "linux-arm-kernel@lists.infradead.org" , "geert+renesas@glider.be" , Jiri Slaby , "linux-serial@vger.kernel.org" , "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 Fri, Aug 2, 2019 at 12:04 PM 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 Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds