Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp121690ybr; Fri, 22 May 2020 02:34:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgyKOfybZXDmvfpoxjd+fdp0ql2q9EyTpAa02v7urHvo6n5OIYHZRDagnvz9aJtFSKrWFZ X-Received: by 2002:a50:cb85:: with SMTP id k5mr2335014edi.152.1590140068909; Fri, 22 May 2020 02:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590140068; cv=none; d=google.com; s=arc-20160816; b=LtmBVC+5F4ZBIMbwt8sG3iIVBDfCP02EgioHA7aDKk2BiwPuJIStBApFMk8DqpA+bG KEssP4ftmQbj7TM491ebaKCJ/tAksiAtD6oOAnjljGJnnpzEfOYAwXYu6gg55Yjg6wp4 WU2tjdgyA6CSrBdMZwonvPNtqjWZVJrnoJsufG7mRFC3MxmjodDoWuYIFZa32FSec/Bb aY/4mozg80Nm1dCNiu45e5AQW55Ti4Pk0RAecRlrow/7vrTWzl75Ntk/RDWebotAHQTE GjNs0uf0cg097qBtaGl04YemeD927MoCl14Vdc6DGmBHS1PEGhl6ZhAkLHT1p70edXKQ MInQ== 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=AwiowU7AVU3r2I9qyZQZWHx6J56i6uVDCr51f9alhVk=; b=oSTulwJeoQu8MGVf7CZFCF6cf2TKKZ22jZOcPfyprfrxu4wIvqvJIlYGJrcKCM4EIS +pltGaR2QbhZR+988Ow2W5NysLt0LgLzzmViTeL9meKedo5fLqGvUi3TNAP4rnook+Kv uww2t3TsjFVwroa7md5OfmWHJR9l9pP5MEz9pgRhjUgRnvz2IogLCVc2gdsjk8u3rPo0 forlavq6ydBdnDs0Xkp2b2g3Yda3zXRZGd79gOzTJ0GYUmhJ4IFGjMD0P+IfDdB9BSKM HxZhWSQmf1xglImTavRMmONOZL+9yFDNqNPKj6NRedL0B7NJ9SXmC3seTO2EzWTI44c1 Tm1g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p1si4528761eji.187.2020.05.22.02.34.05; Fri, 22 May 2020 02:34:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729398AbgEVJck (ORCPT + 99 others); Fri, 22 May 2020 05:32:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728068AbgEVJcj (ORCPT ); Fri, 22 May 2020 05:32:39 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0E2AC061A0E for ; Fri, 22 May 2020 02:32:39 -0700 (PDT) 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 1jc42d-0004xj-09; Fri, 22 May 2020 11:32:35 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jc42c-0000dW-0u; Fri, 22 May 2020 11:32:34 +0200 Date: Fri, 22 May 2020 11:32:33 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Andy Shevchenko Cc: Rahul Tanwar , thierry.reding@gmail.com, p.zabel@pengutronix.de, linux-pwm@vger.kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, songjun.Wu@intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com Subject: Re: [PATCH v1 2/2] Add PWM driver for LGM Message-ID: <20200522093233.yy3tcalveoutxcsj@pengutronix.de> References: <3c1d2343b034325dbc185ccd23a35b40a62a4e7b.1590132733.git.rahul.tanwar@linux.intel.com> <20200522085613.ktb2ruw2virj337v@pengutronix.de> <20200522091824.GR1634618@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200522091824.GR1634618@smile.fi.intel.com> 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 Hello Andy, On Fri, May 22, 2020 at 12:18:24PM +0300, Andy Shevchenko wrote: > On Fri, May 22, 2020 at 10:56:13AM +0200, Uwe Kleine-K?nig wrote: > > On Fri, May 22, 2020 at 03:41:59PM +0800, Rahul Tanwar wrote: > > > > + io_base = devm_platform_ioremap_resource(pdev, 0); > > > + if (IS_ERR(io_base)) > > > > error message here? > > platform core provides it. No need to duplicate (esp. taking into consideration > that it can issue IIRC three different error messages depending on actual error). Ah, missed that. Indeed that's fine as is in the patch. Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | https://www.pengutronix.de/ |