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 17A1BC6FD18 for ; Sat, 22 Apr 2023 13:17:55 +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=vjbls/raAwG7stFLNtTkGp1bGljVTaeVZZvfVvhJ8sE=; b=oP18Im8+7x8Vx3 aApuyHLyVKKuNTCtSaewV+O4B74tltOsXF8yx0zRTPJw5LTbeKAqlfWrB/rd+b0Ju/l74vh5n6nsX thJORiCId0PQWAWbgYNWdSaacjJYiv/8shel805XWykrIjPBjEqcL212SdxYW/LjTMRmFkpZl9MmP UB2rg4q1YBHjKoI9x1VCYSC9X+sTADBSccMo/5CoRKEQvkrfROzB/WfYH1GTxbfYk/XGyg/l0Dez/ RsnbzXXGM1Xo6IHZJ11vT2c5yU82/7HD20CCJfmTPP0e9RvtB2ZkdopwgmbBDAO0FePz3B7MoZEUR ycyDXSL608WB6xwJkJYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pqD6f-00CvSc-1K; Sat, 22 Apr 2023 13:16:49 +0000 Received: from www.linux-watchdog.org ([185.87.125.42]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pqD6b-00CvRr-1E for linux-arm-kernel@lists.infradead.org; Sat, 22 Apr 2023 13:16:47 +0000 Received: by www.linux-watchdog.org (Postfix, from userid 500) id 34C5140A03; Sat, 22 Apr 2023 13:22:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 www.linux-watchdog.org 34C5140A03 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-watchdog.org; s=odk20180602; t=1682162550; bh=Ii2LxPiMXmjmzfkCcsyLVLNBXvLfF8tTgwZi1LaNQRs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q8/8ylASz/AorxRyuNxlecsO+KRPJRHJ3EEE/4vOU8kDMAjP3eMg5CJxEF2XyM6o0 WtuRdx9yYgBOJiKYU1ATHcsynFret0nscZad/nxWh3VqTdlJwsDX3MbhuKeqS+a9ZU LY0EpaHeMr+YbfXI4P1TYP5OSTVMwwZ2OJpfPFnY= Date: Sat, 22 Apr 2023 13:22:29 +0200 From: Wim Van Sebroeck To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Guenter Roeck , Wim Van Sebroeck , Krzysztof Kozlowski , Alim Akhtar , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] watchdog: s3c2410_wdt: Use Use devm_clk_get[_optional]_enabled() helpers Message-ID: <20230422112229.GA23896@www.linux-watchdog.org> References: <20230304165653.2179835-1-linux@roeck-us.net> <20230306091048.mfrpexle24t6nwzy@pengutronix.de> <20230418065603.rzpiazzw4upitynt@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230418065603.rzpiazzw4upitynt@pengutronix.de> User-Agent: Mutt/1.5.20 (2009-12-10) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230422_061645_949529_257A454C X-CRM114-Status: GOOD ( 17.18 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Uwe, > Hello, > = > On Mon, Mar 06, 2023 at 10:10:48AM +0100, Uwe Kleine-K=F6nig wrote: > > On Sat, Mar 04, 2023 at 08:56:52AM -0800, Guenter Roeck wrote: > > > The devm_clk_get[_optional]_enabled() helpers: > > > - call devm_clk_get[_optional]() > > > - call clk_prepare_enable() and register what is needed in order = to > > > call clk_disable_unprepare() when needed, as a managed resource. > > > = > > > This simplifies the code and avoids the calls to clk_disable_unprepar= e(). > > > = > > > While at it, use dev_err_probe consistently, and use its return value > > > to return the error code. > > > = > > > Cc: Uwe Kleine-K=F6nig > > > Signed-off-by: Guenter Roeck > > = > > Reviewed-by: Uwe Kleine-K=F6nig > = > This patch is in next now as b05a2e58c16c47f3d752b7db1714ef077e5b82d9. > My name occurs twice in the tag area, once it is mangled as > = > Uwe Kleine-K=3DF6nig > = > I would welcome fixing that (i.e. s/=3DF6/=F6/). When this commit is > touched, you can also do s/Use Use/Use/ in the Subject. Fixed. Kind regards, wim. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel