Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1130342ybh; Sat, 14 Mar 2020 18:53:44 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtA1m3l005EzndTU0kJ9XZ4WG8xj7YpxDxC5KYvK3ppa4J8lIjPjreXpJ6h7XH0edM5R3qd X-Received: by 2002:aca:5210:: with SMTP id g16mr13053485oib.174.1584237224540; Sat, 14 Mar 2020 18:53:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584237224; cv=none; d=google.com; s=arc-20160816; b=0ZfCsDNsajy56XXFAYVYJ7AaDlFF83Ws2lckPM6opzxGTPPV6SfpSj8JChU+j0fgAL f03QuggdzaoQ7FOfqtxZy2Jpw8MxIq0Cc/werYX6/2Hg94kW53jmw65kJ/H0vk/rVmGg U4UTD4/MwZfdr+CRTrMi1U1ygKtFIQjav4yFkYvf3IeovINjrWKRoNbFO67coLjIZwK0 dvsdao9/jrsyW5HLy5TIRTPuWfLW49Y+wG9fKdS4BVO4mBTK4+aHFThHYB3oPMWcFqjT cKUWG7H1OUs7Yo790r2D8L+zEdvz0kOC2FSf0YVZ6Baj5Dn18Hr0RJ4mjIEAlEzTSWUi vVgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Ryco89dHPZXqPTrIliurlMkBGTSaroh2MwyUsWHoJBY=; b=lEI8ZsaqOrjtZw0MQEBzdgFYxxJzQAzDpmh3pCfWaSxFWUdPnLzy8rCiNpDF/IOL8p fFy8gGnl6phTvdzCrAs4JTyKCM3EWwbnH9a1TfrQBAC3+/dxMQ/Nzyo5E810bH34A6CT ZfajyBe1uAGv1jbRQHr8duBv5CKvz5fGn+LetL8ON/tXcZBSFnjy08yNi2aSzKBFOjAw Y6IIAdB0qaqZZTqAxsCtdZbei6ilKlu0CoAmM5pqgN4R6gJ378mB8LBmwZSLF5gSNb0V VKYoKlVlXXPgzOdETtcB/dWHSKzFB+JZcbq8ERbadOL6uJaGRY1s4QzIXJQr0huPh2v/ XbMA== 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 j10si4966101oii.151.2020.03.14.18.53.33; Sat, 14 Mar 2020 18:53:44 -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 S1727541AbgCOBxA (ORCPT + 99 others); Sat, 14 Mar 2020 21:53:00 -0400 Received: from mslow2.mail.gandi.net ([217.70.178.242]:41290 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727524AbgCOBw7 (ORCPT ); Sat, 14 Mar 2020 21:52:59 -0400 X-Greylist: delayed 857 seconds by postgrey-1.27 at vger.kernel.org; Sat, 14 Mar 2020 21:52:58 EDT Received: from relay11.mail.gandi.net (unknown [217.70.178.231]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 31E9D3A8B7F; Sat, 14 Mar 2020 14:45:26 +0000 (UTC) Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id B4AE610000F; Sat, 14 Mar 2020 14:45:02 +0000 (UTC) Date: Sat, 14 Mar 2020 15:45:02 +0100 From: Alexandre Belloni To: Anson Huang Cc: a.zummo@towertech.it, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH] rtc: snvs: Use devm_add_action_or_reset() for calls to clk_disable_unprepare() Message-ID: <20200314144502.GD4518@piout.net> References: <1584109849-21402-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1584109849-21402-1-git-send-email-Anson.Huang@nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/03/2020 22:30:49+0800, Anson Huang wrote: > Use devm_add_action_or_reset() for calls to clk_disable_unprepare(), > which can simplify the error handling. > > Signed-off-by: Anson Huang > --- > drivers/rtc/rtc-snvs.c | 24 +++++++++++++----------- > 1 file changed, 13 insertions(+), 11 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com