From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755316Ab2DZImN (ORCPT ); Thu, 26 Apr 2012 04:42:13 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:55114 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755046Ab2DZImL (ORCPT ); Thu, 26 Apr 2012 04:42:11 -0400 Date: Thu, 26 Apr 2012 10:42:01 +0200 From: Sascha Hauer To: Saravana Kannan Cc: Mike Turquette , Arnd Bergman , linux-arm-kernel@lists.infradead.org, Andrew Lunn , Paul Walmsley , Russell King , Linus Walleij , Stephen Boyd , linux-arm-msm@vger.kernel.org, Mark Brown , Magnus Damm , linux-kernel@vger.kernel.org, Rob Herring , Richard Zhao , Grant Likely , Deepak Saxena , Amit Kucheria , Jamie Iles , Jeremy Kerr , Thomas Gleixner , Shawn Guo Subject: Re: [PATCH] clk: Use a separate struct for holding init data. Message-ID: <20120426084201.GF17184@pengutronix.de> References: <1335419936-10881-1-git-send-email-skannan@codeaurora.org> <4F98EB10.2000505@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F98EB10.2000505@codeaurora.org> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 10:39:27 up 165 days, 16:26, 43 users, load average: 0.01, 0.04, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 2001:6f8:1178:2:21e:67ff:fe11:9c5c X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 25, 2012 at 11:28:32PM -0700, Saravana Kannan wrote: > > >diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c > >index 6e58f11..8e97491 100644 > >--- a/drivers/clk/clk-mux.c > >+++ b/drivers/clk/clk-mux.c > >@@ -95,6 +95,7 @@ struct clk *clk_register_mux(struct device *dev, const char *name, > > { > > I would really like to remove these functions. At least until we add > device tree support where each clock is listed in device tree. > > At present, these functions seem to be abused more than actually > being used appropriately. I think this goes in my direction. Still exactly this abuse how you call it makes me relatively independent of for example the changes you introduce with your patch. Had I static initializers I would now have to start a rebase orgy. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |