Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1474824imd; Thu, 1 Nov 2018 16:37:49 -0700 (PDT) X-Google-Smtp-Source: AJdET5cRn3mN+GvEsSRxl05NUE+eUC3qt4K3TTPfzpohoGVGf7pXe6nzu7C88TCePVKZy2kqTJz4 X-Received: by 2002:a63:e348:: with SMTP id o8mr8798719pgj.158.1541115469831; Thu, 01 Nov 2018 16:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541115469; cv=none; d=google.com; s=arc-20160816; b=Uz/EJOsM6LCJEBY2PQTZqFl02sYPCbgAmxzLmRJWLG89WNn+8Wb6ASbnzQ5DGjvLgc vTtY3Ews/C+RqMwELxkz66glZ7xjunVVxEtDOwlBkfOoPg9VfKH3qA45TXAovuevkGIB 2uP1glFCb3Gpxtc0Ny71hAGUIH8O+a5ETrV9Y3Wb2oOVtpVDyKibEayuZ70FQuexWLmF SlqsCB2AdNJfzFyjgQDH2/BZ6G4ILP/MUc/syWpC+Rd3iAJTWzbHs4GtV7khkyj5JG4/ 5XLfQM4b1sIt94POsYR3M8k52vs5EVKb4FtAw3dlEXgmwRP0CQcoDZ69iBWfolxH43pq m9Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=vdSiiXjuHzsYQhPZbkWEzdaYqLVb0qmrSizjKkWE9gs=; b=Uz2mFBEf/7XFZQO+B95pBUYhqF+8GEMC9jM8jVvXGTITjmc85jPkmANduo6PDIPXw6 nlGcgJWHhm1noFykNf0b1fkd2dTgdUzMfiKTho1mMtFrCjO1/EmBVLnw2z1N0zaIsD23 bC4QJjSo+CP5h5Z0c7M8tYI+x/eoRPPiNMvJYuA8K7eJ2v3uAI7g/lX/QFn7hDHcyUa/ 70eyMHJtUorYfLtHvgEElMxSjMs2n9fCNVvceegZqCihhqgj+5qTaOvjT3WTylQqkvXJ 0swrYUTt0+7CMLgY4ub2NNIfe/O4j+Dfa+q4vtC5y1Ql5hQKtNzHlA4QAQcyKKzKY1jx evrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GVzNaucR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d36-v6si17289626pla.384.2018.11.01.16.37.34; Thu, 01 Nov 2018 16:37:49 -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; dkim=pass header.i=@kernel.org header.s=default header.b=GVzNaucR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728169AbeKBIkv (ORCPT + 99 others); Fri, 2 Nov 2018 04:40:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:57610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728038AbeKBIkv (ORCPT ); Fri, 2 Nov 2018 04:40:51 -0400 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AF0AC2251C; Thu, 1 Nov 2018 23:35:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541115346; bh=vdSiiXjuHzsYQhPZbkWEzdaYqLVb0qmrSizjKkWE9gs=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=GVzNaucR63Orl1enOLnLq7zaaO66VOaBKQtTU0BZvjMZJiX6tD1/DkOKqHah1UIT+ ItSNNQg4vK9wzVkMs2eX596WZwHwuUuzEw0oe0TR/jpE7Mte6/3Q03GyTOf2jvhFKV EwVQEwHw5FdhSBjZbAkZaxXIKf0vw+E0T4yj90c4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Alan Tull , Ricardo Ribalda Delgado , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org From: Stephen Boyd In-Reply-To: <20181101144044.11495-1-ricardo.ribalda@gmail.com> Cc: Ricardo Ribalda Delgado References: <20181101144044.11495-1-ricardo.ribalda@gmail.com> Message-ID: <154111534593.88331.1129843003477644482@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH 0/5] Implement devm_of_clk_add_provider Date: Thu, 01 Nov 2018 16:35:45 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Ricardo Ribalda Delgado (2018-11-01 07:40:39) > All Tull reported that there might be a great ammount of drivers with > imbalance on clk_add_provider. This is an issue for Device tree overlays > (and also a bug) https://lkml.org/lkml/2018/10/18/1103 > = > This patchset implement a devm_ function of of_clk_add_provider, and > fixes 3 drivers. > = > Drivers like clk-gpio will be easily fixed with coccinelle if this set > is accepted. (I volunteer, I want to learn how to use it, just seen the > great presentations from Julia). We already have devm_of_clk_add_hw_provider(), so any instances of of_clk_add_provider() should be replaced with that, instead of propagating the usage of of_clk_add_provider() any further. I'll gladly apply patches to convert drivers from struct clk based APIs to struct clk_hw based APIs so that we can clearly split clk providers from clk consumers. So if you're interested in working on some coccinelle script for that it would be great!