From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BF1E8C43217 for ; Thu, 1 Dec 2022 13:29:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=H4zp+w5ZKwcInT3OP3qV+Qm4QcWKwVoL/dq1xzqrfuc=; b=d1M6BAhTqaqe8l IZTVSQqICslBgpQKwlGvVAt3oKWORJh7UQVuza0BcXPQxp2MXUjnXJM7paLvc/d51dJTeg46h6I4m qf1puT6BFh6pmEP4/K5MKur+FyelgrnPLWJhdXniz2ht9CuU671WOZIGT8FMe0Z1XwXt8MtQukY4d Pn0GQ6hnwr837vFlJxK9+7Srd0IysDNM3jHI9CKXBrOLh38LBUgHyp8U8A5DXCcHZUcwogT8ZcO5z YeMLjG733NsY7NUht9QhpDi2kDvOkFG4UbmGXbt4qWpXz8WYvlOtrlZPs25B4/b/aHrCdR0Ny9XP9 kNqN3EcXmmrfIc0skSKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0jd2-007hHL-Rq; Thu, 01 Dec 2022 13:29:28 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0jcx-007hEc-FN; Thu, 01 Dec 2022 13:29:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1669901363; x=1701437363; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=uzYyfpe5ovcmHtziruShrAihFDRO3ojyXNM6UnYgYzM=; b=rZxb5+hfjDXxjtZu937XvgDrAjM36daIPnVrCIzmd93mSr2H5Kc5O2mH WXY59NT9pt5M8Gv5e0hUGGIYl64nJ48mtaCwYhf6rpwTub4m/nE/gp1YN 6cl2xVV0NZFsHkAeR4vvkV1j4BJEITOAdu6ozOmOwNRbBjhLx+iCV6os8 fbbq+86k282FAse3AIBr30+pBsXYRi+rOcbBvQieX+WF0IicJftcDWXNw Kyh6TbTtadQI7xwfLZGGP2g5Yo+lqgRsCwKKa34xij9RU/mZkfDk5ejV7 92/rR3cxTsGxr6Qhyrc068eKcPGra2tB2YdWgOfMCYFauCxZ+xnI5df3+ A==; X-IronPort-AV: E=Sophos;i="5.96,209,1665471600"; d="scan'208";a="125998122" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Dec 2022 06:29:21 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 1 Dec 2022 06:29:09 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12 via Frontend Transport; Thu, 1 Dec 2022 06:29:01 -0700 Date: Thu, 1 Dec 2022 13:28:42 +0000 From: Conor Dooley To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= CC: Alexandre Belloni , Alexandre Torgue , , "Douglas Anderson" , Thierry Reding , Satya Priya , Pavel Machek , "Guenter Roeck" , Marijn Suijten , Nobuhiro Iwamatsu , , , "Jerome Brunet" , , "Florian Fainelli" , Samuel Holland , "Sean Anderson" , Kevin Hilman , Bartosz Golaszewski , Michal Simek , , Hammer Hsieh , , Chen-Yu Tsai , Matthias Kaehlcke , "Broadcom internal kernel review list" , NXP Linux Team , Orson Zhai , , , "Pengutronix Kernel Team" , Martin Blumenstingl , Ray Jui , "Sascha Hauer" , Steven Rostedt , "Stephen Boyd" , , Fabrice Gasnier , , , Baolin Wang , Paul Walmsley , Matthias Brugger , , , Scott Branden , Bjorn Andersson , Nicolas Ferre , "Michael Walle" , Palmer Dabbelt , "Masami Hiramatsu" , Maxime Coquelin , Chunyan Zhang , Shawn Guo , Claudiu Beznea Subject: Re: [PATCH v2 00/11] pwm: Allow .get_state to fail Message-ID: References: <20221130152148.2769768-1-u.kleine-koenig@pengutronix.de> <20221201131907.bmrenldnua7uaeab@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221201131907.bmrenldnua7uaeab@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221201_052923_604677_ABC41199 X-CRM114-Status: GOOD ( 10.51 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Thu, Dec 01, 2022 at 02:19:07PM +0100, Uwe Kleine-K=F6nig wrote: > Hello Conor, > = > On Thu, Dec 01, 2022 at 11:11:51AM +0000, Conor Dooley wrote: > > TL;DR, I quite like the ability to return an error and not mislead the > > caller. > = > Is this an Ack? It is if you want it to be! I didn't really feel qualified to do so which is why I gave some context etc. I did check out the callsites for the non-void returning op, and it looked good to me, so sure, why not: Acked-by: Conor Dooley Thanks, Conor. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv