Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3763801ybl; Tue, 20 Aug 2019 01:48:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwS+IZk+sTK9gu7sFDsetL4EGBb+5pDhpOMYtmWZzH5tMj5bTyelNq7LuqLvKadMxfvTZbN X-Received: by 2002:a17:902:2bc8:: with SMTP id l66mr27552577plb.222.1566290880361; Tue, 20 Aug 2019 01:48:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566290880; cv=none; d=google.com; s=arc-20160816; b=oW4Fsx/5OI9ofi+2Oxls6i+JH0DIBsKJkAkQwSKFP51nYTJ1EXhKZ5vAfuSCkvvvWT UzSHpaWeDQfMaBYz8KtnnbZSGB+GAKKiaf9jfaWM/mVh/Y8AvqEkw+tYScqPEWHHQYKZ +OY7/wzA0YCkJA2a0Io2vv6MvtFUNiLtVyle08osfh+2xQFZjGue3V8EmNOisATvuGiA ce+7VdVrkWv/Cm3uIgTWC4Qo7ivmmzWOq/mUMdrXUr4i/5vtwaAq3EXw9z4K94Jf51G3 eeRcAka9UtqzZnL6WeLS33CXB/1+uEcHBVOyddHa6zUGlWQkbmNfmpifI4R3/xtwpzou /hZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=f2DBCQR8+5yK7o078N92tAIb5sS1Ul5P12mQEUVvybc=; b=TwEaOAENQx9oibaFQDZ0VyEZPzWmPl6trzQf5XgtstisSMqThX7r0yY+4bHx/B8ijW bbOlDkXcgIxWaf8bwbYI96lYpYimnWnGVfKqPGdstKawFGliDwm1VJRUFh4TZgZHY8eP Zh7WA2bFBRvcMKsg2ZWlCEWTKnZp2fKi1QY0rf6DMNIjSIKAIAt0pt7ayDd+LtO41Bh7 CZLhl8YSar3anEpoe027IlA7NAiWYunCPRy8ibjqqJVKRFigKj4HizkOumuyCYpBWFar dyv168TF7PMnS2iSIgj3t97ieBPn1gpYhGEqgmA70CI6UFBYbKZCwRpD3NWMATIY7TEg 5MuA== 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 r12si11441415pgv.574.2019.08.20.01.47.45; Tue, 20 Aug 2019 01:48:00 -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 S1729457AbfHTIqp (ORCPT + 99 others); Tue, 20 Aug 2019 04:46:45 -0400 Received: from ns.iliad.fr ([212.27.33.1]:55198 "EHLO ns.iliad.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728426AbfHTIqp (ORCPT ); Tue, 20 Aug 2019 04:46:45 -0400 Received: from ns.iliad.fr (localhost [127.0.0.1]) by ns.iliad.fr (Postfix) with ESMTP id 42788213EB; Tue, 20 Aug 2019 10:46:43 +0200 (CEST) Received: from [192.168.108.37] (freebox.vlq16.iliad.fr [213.36.7.13]) by ns.iliad.fr (Postfix) with ESMTP id 2BEBE201B3; Tue, 20 Aug 2019 10:46:43 +0200 (CEST) Subject: Re: [PATCH v1] clk: Add devm_clk_{prepare,enable,prepare_enable} From: Marc Gonzalez To: Stephen Boyd , Michael Turquette Cc: linux-clk , LKML , =?UTF-8?Q?Jonathan_Neusch=c3=a4fer?= , Bjorn Andersson , Guenter Roeck References: <1d7a1b3b-e9bf-1d80-609d-a9c0c932b15a@free.fr> Message-ID: <96b30b79-1e9b-bbdb-8bd5-b1e82b83e78c@free.fr> Date: Tue, 20 Aug 2019 10:46:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1d7a1b3b-e9bf-1d80-609d-a9c0c932b15a@free.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP ; ns.iliad.fr ; Tue Aug 20 10:46:43 2019 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/07/2019 17:34, Marc Gonzalez wrote: > Provide devm variants for automatic resource release on device removal. > probe() error-handling is simpler, and remove is no longer required. > > Signed-off-by: Marc Gonzalez > --- > Documentation/driver-model/devres.rst | 3 +++ > drivers/clk/clk.c | 24 ++++++++++++++++++++++++ > include/linux/clk.h | 8 ++++++++ > 3 files changed, 35 insertions(+) Stephen, Mike, Thoughts? Comments? Regards.